]>
Commit | Line | Data |
---|---|---|
1 | ;------------------------------------------------------------------------------\r | |
2 | ; @file\r | |
3 | ; Port 0x80 debug support macros\r | |
4 | ;\r | |
5 | ; Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r | |
6 | ; SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
7 | ;\r | |
8 | ;------------------------------------------------------------------------------\r | |
9 | \r | |
10 | BITS 16\r | |
11 | \r | |
12 | %macro debugInitialize 0\r | |
13 | ;\r | |
14 | ; No initialization is required\r | |
15 | ;\r | |
16 | %endmacro\r | |
17 | \r | |
18 | %macro debugShowPostCode 1\r | |
19 | mov al, %1\r | |
20 | out 0x80, al\r | |
21 | %endmacro\r | |
22 | \r |