Contents
Version 1.02 12/12/00 ix
5.4.4 Hardware vs. Messaging Device Path Rules................................. 135
5.4.5 Media Device Path Rules.............................................................. 136
5.4.6 Other Rules ...................................................................................136
6 Device I/O Protocol
6.1 Device I/O Overview.............................................................................. 137
6.2 DEVICE_IO Protocol ............................................................................. 138
6.2.1 DEVICE_IO.Mem(), .Io(), and .Pci()............................................... 141
6.2.2 DEVICE_IO.PciDevicePath()......................................................... 143
6.2.3 DEVICE_IO.Map()......................................................................... 144
6.2.4 DEVICE_IO.Unmap()..................................................................... 146
6.2.5 DEVICE_IO.AllocateBuffer().......................................................... 147
6.2.6 DEVICE_IO.Flush()....................................................................... 149
6.2.7 DEVICE_IO.FreeBuffer()............................................................... 150
7 Console I/O Protocol
7.1 Console I/O Overview............................................................................ 151
7.2 ConsoleIn Definition............................................................................... 152
7.3 SIMPLE_INPUT Protocol....................................................................... 154
7.3.1 SIMPLE_INPUT.Reset()................................................................ 155
7.3.2 SIMPLE_INPUT.ReadKeyStroke................................................... 156
7.4 ConsoleOut or StandardError ................................................................157
7.5 SIMPLE_TEXT_OUTPUT Protocol........................................................ 157
7.5.1 SIMPLE_TEXT_OUTPUT.Reset()................................................. 160
7.5.2 SIMPLE_TEXT_OUTPUT.OutputString()...................................... 161
7.5.3 SIMPLE_TEXT_OUTPUT.TestString().......................................... 164
7.5.4 SIMPLE_TEXT_OUTPUT.QueryMode()........................................ 165
7.5.5 SIMPLE_TEXT_OUTPUT.SetMode()............................................ 166
7.5.6 SIMPLE_TEXT_OUTPUT.SetAttribute()........................................ 167
7.5.7 SIMPLE_TEXT_OUTPUT.ClearScreen() ...................................... 169
7.5.8 SIMPLE_TEXT_OUTPUT.SetCursorPosition() ............................. 170
7.5.9 SIMPLE_TEXT_OUTPUT.EnableCursor() .................................... 171