DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MSOP_START_CPU(D2psm)


MSOP_START_CPU -- start a CPU running kernel code

Synopsis

   void pfxstart_cpu(ms_cpu_t cpu, ms_paddr_t start_address)

Description

MSOP_START_CPU makes the CPU identified by ms_cpu_t start running kernel code at the address indicated by ms_paddr_t. The target CPU may have been in suspended (or even powered down) state, or it may have been spinning in firmware or software, waiting to be started.

The address to which the CPU first jumps must be a physical address, not a normal virtual pointer, because the target CPU will not yet have paging enabled.

On the IA-32 architecture, the target CPU must be executing in protected mode, not real-address mode, with paging disabled, when it jumps to start_address.

Interrupts are disabled on the CPU when MSOP_START_CPU is called.

Arguments


cpu
the number of the CPU to start

start_address
address of the kernel code to run

Return values

None.

Usage

Hardware applicability

Required for MP and ccNUMA platforms.

Version applicability

psm: 2
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005