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