Original Publication Date: 1995-Aug-01
Included in the Prior Art Database: 2005-Mar-30
Disclosed is an "out-of-kernel" input support for OS/2* on top of the Mach Microkernel. This input support calls ring 3 device driver support instead of ring 0. Switching of the OS/2 personality is also provided on top of the Mach Microkernel.
an "out-of-kernel" input support for OS/2* on top
of the Mach Microkernel. This input support calls ring 3 device
driver support instead of ring 0. Switching of the OS/2 personality
is also provided on top of the Mach Microkernel.
Fig. 1 is a
block diagram showing the operation of
out-of-kernel PMCONS 1 in a computer system, interfacing to the
CONSOLE.DD 2 device driver in the user area of the kernel, so that
the device driver model is moved "out of the kernel." In this way,
an ability is achieved to read information from the keyboard, mouse,
and XGA, without having to make calls directly to the kernel. This
version of PMCONS relies on an HRM 3 (Hardware Resource Manager)
Cons_Calls console interface, on PMWIN 4, on OS/2 Server 5, on the
Presentation Manager* XGA* (IBMXGA32) 6, and on partial header file
information from MACH kernel 7. Out-of-kernel PMCONS 1 reads
information from a queue provided by CONSOLE.DD 2 and then converts
these messages into packets that the Presentation Manager (PM) can
understand. This information is next passed up to PMWIN 4. With
support from HRM 3, this system can switch between multiple
personalities on the Microkernel, as provided by the OS/2 server 5
and by Other Personality server 8.
Fig. 2 is a
block diagram showing a more detailed perspective
of the Out-Of-Kernel PMCONS function, which also provides DebugOutput
and a cryptic version of DosDevIOCtl.
PMCONS 1 is
initialized by a DosDevIOCtl call 5 (Category 3 -
Function 0x73) conventionally used to get the PMDD data structure
information. The initialization procedure is started by checking to
see if initialization has already been performed. Next, DosExitList
processing for the shutdown of PMCONS is performed. The typematic
rate of the keyboard is set, the System Input Thread 9 is created to
start taking information...