|
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
Function RTT_PNP_Installed
Function RTT_PNP_CallPnPBIOS
PC Cards (PCMCIA)
MetaWINDOW Initialization
Run-Time System Support
System Management BIOS (SMBIOS)
Advanced Programmable Interrupt Controller (APIC)
Multiprocessor Management
Spinlocks
Advanced Configuration and Power Interface (ACPI) Tables
RTVmf-32
RTRth-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Plug-and-Play BIOS
Plug-and-play I/O cards may require configuration at run-time, or software may need to query configuration information about such cards. 16-bit protected mode PnP BIOS services can be used for this purpose.
All PnP BIOS functions made available by RTTarget-32 are declared in header file Rttpnp.h. For Pascal, the driver's API is defined in unit Rttpnp.pas.
The PnP BIOS functions return one of the following values:
| RTT_PNP_SUCCESS | RTT_PNP_NOT_SET_STATICALLY |
| RTT_PNP_UNKNOWN_FUNCTION | RTT_PNP_FUNCTION_NOT_SUPPORTED |
| RTT_PNP_INVALID_HANDLE | RTT_PNP_BAD_PARAMETER |
| RTT_PNP_SET_FAILED | RTT_PNP_EVENTS_NOT_PENDING |
| RTT_PNP_SYSTEM_NOT_DOCKED | RTT_PNP_NO_ISA_PNP_CARDS |
| RTT_PNP_UNABLE_TO_DETERMINE_DOCK_CAPABILITIES | RTT_PNP_CONFIG_CHANGE_FAILED_NO_BATTERY |
| RTT_PNP_CONFIG_CHANGE_FAILED_RESOURCE_CONFLICT | RTT_PNP_BUFFER_TOO_SMALL |
| RTT_PNP_USE_ESCD_SUPPORT | RTT_PNP_MESSAGE_NOT_SUPPORTED |
| RTT_PNP_HARDWARE_ERROR |
Important (multithreaded programs only): if an RTKernel-32 program uses any PnP BIOS functions, the CPU driver CPU386 must be used instead of the default driver CPU386F. This is required because the PnP BIOS reloads segment registers with selectors referring to 16-bit segments. This is not supported by the default CPU386F driver.
Details about the Plug-and-Play BIOS are available in the Plug-and-Play BIOS Specification freely available from Compaq Computer Corporation, Phoenix Technologies Ltd., or Intel Corporation, as well as Microsoft's MSDN Library.
PCI BIOS
Function RTT_PNP_Installed
Function RTT_PNP_CallPnPBIOS
PC Cards (PCMCIA)
|