void usrShowInit (void) { taskShowInit (); /* task show routine */ classShowInit (); /* class show routine */ memShowInit (); /* memory show routine */ taskHookShowInit (); /* task hook show routine */ semShowInit (); /* semaphore show routine */ msgQShowInit (); /* message queue show routine */ wdShowInit (); /* watchdog timer show routine */ symShowInit (); /* Routines to display information about symbols and symbol tables */ vmShowInit (); /* VM library show routine */ mqPxShowInit (); /* POSIX message queue show routine */ semPxShowInit (); /* POSIX semaphore show routine */ /* task floating point registers */ trgShowInit (); /* trigger show routine */ rBuffShowInit (); /* rBuff show routine */ stdioShowInit (); /* stdio show routine */ edrShowInit (); /* ED&R show routines */ /* handle show routines */ timerShowInit(); /* This is a utility that will allow the user to display a snap shot of the selected timer. Requires INCLUDE_POSIX_TIMERS */ adrSpaceShowInit(); /* Address Space Allocator Show Routines: display information on the system address space allocator. */ pgMgrShowInit(); /* Page manager show routines: display information on page managers. */ pgPoolShowInit(); /* Generic page pool allocator show routines: display information on page pools. */ rtpShowInit (); /* Display information on RTP. */ sdShowInit (); /* Display information on Shared Data. */ shlShowInit (); /* Display information on Shared Libraries */ coprocShowInit (); /* task coprocessor registers */ }
int mmuInit(void) { /* If initialization of mmu unit fails */ if (mmuPro32LibInit(VM_PAGE_SIZE) != OK) { logMsg( "mmuInit: MMU configuration failed, errno = %#x", (ARG) errno, (ARG) 0, (ARG) 0, (ARG) 0, (ARG) 0, (ARG) 0 ); return ERROR; } /* In initialization of virual memory */ if (vmLibInit(VM_PAGE_SIZE) != OK) { logMsg( "mmuInit: MMU configuration failed, errno = %#x", (ARG) errno, (ARG) 0, (ARG) 0, (ARG) 0, (ARG) 0, (ARG) 0 ); return ERROR; } vmShowInit(); return OK; }