The entry point for the kernel is an assembly language routine called rdb_bootstrap(). RDB refers to the remote debugger used internally by Hewlett-Packard. This is the first point in the kernel at which the debugger can start managing the kernel. rdb_bootstrap() turns off interrupts and initializes the interrupt vector table so that we'll be ready to handle any interrupts that come in. It also creates the first procinfo structure, mpproc_info, and fills it with information about the monarch. It sets CR24 to point to this procinfo structure. If the kernel is compiled for 64-bit operation and the hardware is 64-bit-capable, rdb_bootstrap() turns on the W-bit in the Processor Status Word to enable wide mode.
Get HP-UX 11i Internals now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.