5 OperationRegion(DBG, SystemIO, 0x0402, 0x01)
6 Field(DBG, ByteAcc, NoLock, Preserve) {
10 * Debug method - use this method to send output to the QEMU
11 * BIOS debug port. This method handles strings, integers,
12 * and buffers. For example: DBUG("abc") DBUG(0x123)
15 ToHexString(Arg0, Local0)
16 ToBuffer(Local0, Local0)
17 Subtract(SizeOf(Local0), 1, Local1)
19 While (LLess(Local2, Local1)) {
20 Store(DerefOf(Index(Local0, Local2)), DBGB)