On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
RTTarget-32 Reference Manual
Introduction
RTTarget-32 Configuration
Screen I/O
Interrupt Handling
Port I/O
System Functions
Program Loading
Memory Mapping and Management
Real-Time Clock and CMOS RAM
Keyboard
Mouse and Touch Screen Driver
Parallel Port Printer
Serial Port I/O
PCI BIOS
Plug-and-Play BIOS
PC Cards (PCMCIA)
MetaWINDOW Initialization
Run-Time System Support
System Management BIOS (SMBIOS)
Advanced Programmable Interrupt Controller (APIC)
Multiprocessor Management
Function RTMPCPUs
Function RTMPSelf
Function RTMPStartCPU
Function RTMPStopAll
Function RTMPSynchTimeStampCounters
Function RTRDTSC
Spinlocks
Advanced Configuration and Power Interface (ACPI) Tables
Extended RAM Management
RTVmf-32
RTRth-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Function RTMPCPUs
RTMPCPUs returns the number of installed CPUs:
int RTMPCPUs(DWORD Flags);
ParametersFlagsZero or a combination of the following flag values:
Value |
Meaning |
RT_APIC_TRUST_MPFPS |
This flag is ignored. |
RT_APIC_ASSUME_LEGACY_MAP |
This flag is ignored. |
RT_APIC_USE_LEGACY_MAP |
This flag is ignored. |
RT_APIC_NO_HYPERTHREAD |
In PIC mode, this flag instructs RTMPCPUs to ignore Hyperthread logical CPUs. Once in APIC mode, Hyperthread support is only determined by this flag passed to RTMPSetAPICMode. |
return valueThe number of available CPUs or 1 if the function was unable to parse the BIOS's MP Floating Pointer Structure.
Function RTMPSelf
|