loader/apple.c
VOID RecordgCsrStatus(UINT32 CsrStatus, BOOLEAN DisplayMessage) {
    EG_PIXEL    BGColor = COLOR_LIGHTBLUE;

    switch (CsrStatus) {
        case SIP_ENABLED:
            SPrint(gCsrStatus, 255, L" System Integrity Protection is enabled (0x%02x)", CsrStatus);
            break;
        case SIP_DISABLED:
            SPrint(gCsrStatus, 255, L" System Integrity Protection is disabled (0x%02x)", CsrStatus);
            break;
        default:
            SPrint(gCsrStatus, 255, L" System Integrity Protection status: 0x%02x", CsrStatus);
    } // switch
    if (DisplayMessage) {
        egDisplayMessage(gCsrStatus, &BGColor, CENTER);
        PauseSeconds(3);
    } // if
}
// Store string describing CSR status value in gCsrStatus variable, which appears
// on the Info page. If DisplayMessage is TRUE, displays the new value of
// gCsrStatus on the screen for three seconds.
Store string describing CSR status value in gCsrStatus variable, which appears
on the Info page. If DisplayMessage is TRUE, displays the new value of
gCsrStatus on the screen for three seconds.
Store string describing CSR status value in gCsrStatus variable which appears on the Info page . If DisplayMessage is TRUE displays the new value of gCsrStatus on the screen for three seconds .
VOID RecordgCsrStatus(UINT32 CsrStatus, BOOLEAN DisplayMessage) {
    EG_PIXEL    BGColor = COLOR_LIGHTBLUE;
    switch (CsrStatus) {
        case SIP_ENABLED:
            SPrint(gCsrStatus, 255, L" System Integrity Protection is enabled (0x%02x)", CsrStatus);
            break;
        case SIP_DISABLED:
            SPrint(gCsrStatus, 255, L" System Integrity Protection is disabled (0x%02x)", CsrStatus);
            break;
        default:
            SPrint(gCsrStatus, 255, L" System Integrity Protection status: 0x%02x", CsrStatus);
    } 
    if (DisplayMessage) {
        egDisplayMessage(gCsrStatus, &BGColor, CENTER);
        PauseSeconds(3);
    } 
}
VOID RecordgCsrStatus ( UINT32 CsrStatus , BOOLEAN DisplayMessage ) { EG_PIXEL BGColor = COLOR_LIGHTBLUE ; switch ( CsrStatus ) { case SIP_ENABLED : SPrint ( gCsrStatus , 255 , L" " , CsrStatus ) ; break ; case SIP_DISABLED : SPrint ( gCsrStatus , 255 , L" " , CsrStatus ) ; break ; default : SPrint ( gCsrStatus , 255 , L" " , CsrStatus ) ; } if ( DisplayMessage ) { egDisplayMessage ( gCsrStatus , & BGColor , CENTER ) ; PauseSeconds ( 3 ) ; } }
Store string describing CSR status value in gCsrStatus variable, which appears
on the Info page.
Store string describing CSR status value in gCsrStatus variable which appears on the Info page .
// switch // if