Original Publication Date: 1995-Aug-01
Included in the Prior Art Database: 2005-Mar-30
Disclosed is an "in-kernel" version of PMCONS, providing a direct input interface between the Presentation Manager* (PM) and the MACH Microkernel by means of mach device calls. The device driver model is located inside the Microkernel.
an "in-kernel" version of PMCONS, providing a
direct input interface between the Presentation Manager* (PM) and the
MACH Microkernel by means of mach device calls. The device driver
model is located inside the Microkernel.
Fig. 1 is a
block diagram providing an overview of the
In-Kernel PMCONS function, which connects with the OS/2* Server 1a,
the MACH Microkernel 2, PMWIN 3, and PMXGA 4. PMCONS 1 reads
messages from the queue of MACH input kernel 2 and converts these
messages into information packets that the Presentation Manager can
understand. This information is then passed to PMWIN 3 and PMXGA 4.
Fig. 2 is a
block diagram showing a more detailed perspective
of the In-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, Device to
Kernel is opened for PMCONS port rights. Then, DosExitList
processing for the shutdown of PMCONS is performed. The typematic
rate of the keyboard is set, and the mouse input structure and deltas
are reset. The System Input Thread 6 is created to start taking
information, and Set PMCONS is enabled. Then the initialization
process is left, returning to the caller.