src/shell/main.c
/*

    Name: pongo_boot_xargs
    Description: command handler for xargs

*/
pongo_boot_xargs
Description: command handler for xargs
pongo_boot_xargs Description : command handler for xargs
void pongo_boot_xargs(const char* cmd, char* args) {
    if (args[0] == 0) {
        iprintf("xnu boot arg cmdline: [%s]\n", (char*)((int64_t)gBootArgs->CommandLine - 0x800000000 + kCacheableView) );
    } else {
        strcpy((char*)((int64_t)gBootArgs->CommandLine - 0x800000000 + kCacheableView ), args);
        iprintf("set xnu boot arg cmdline to: [%s]\n", (char*)((int64_t)gBootArgs->CommandLine - 0x800000000 + kCacheableView ));
    }
}
void pongo_boot_xargs ( const char * cmd , char * args ) { if ( args [ 0 ] == 0 ) { iprintf ( " \n " , ( char * ) ( ( int64_t ) gBootArgs -> CommandLine - 0x800000000 + kCacheableView ) ) ; } else { strcpy ( ( char * ) ( ( int64_t ) gBootArgs -> CommandLine - 0x800000000 + kCacheableView ) , args ) ; iprintf ( " \n " , ( char * ) ( ( int64_t ) gBootArgs -> CommandLine - 0x800000000 + kCacheableView ) ) ; } }
Name: pongo_boot_xargs
Description: command handler for xargs
Name : pongo_boot_xargs Description : command handler for xargs
// get