GetRealModeWorkSpace
Used in conjunction with DoRealModeInterrupt In ODI Specification: Protocol Stacks and MLIDs (Intel 32-Bit Assembly Language) to allow the HAM access to memory in real mode.
void GetRealModeWorkSpace ( LONG *workSpaceSemaphore, LONG *protectedModeAddress, WORD *realModeSegment, WORD *realModeOffset, LONG *workSpaceSize );
GetRealModeWorkSpace is used to provide a HAM with a real mode workspace. Used in conjunction with DoRealModeInterrupt, the HAM has access to memory in real mode. Be aware that the HAM must provide the storage locations for the outputs it receives during this call. This call cannot be used to lock two or more workspaces at a time.
Because NetWare runs in protected mode, it does not allow direct access to BIOS information. DoRealModeInterrupt allows the HAM to access the BIOS and get data from it. DoRealModeInterrupt turns on the system interrupts and executes in a critical section; therefore, calls to CPSemaphore and CVSemaphore are necessary to keep other processes out of the workspace.