mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-01 12:53:27 +01:00
23 lines
517 B
NASM
23 lines
517 B
NASM
;------------------------------------------------------------------------------
|
|
; @file
|
|
; Port 0x80 debug support macros
|
|
;
|
|
; Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
;
|
|
;------------------------------------------------------------------------------
|
|
|
|
BITS 16
|
|
|
|
%macro debugInitialize 0
|
|
;
|
|
; No initialization is required
|
|
;
|
|
%endmacro
|
|
|
|
%macro debugShowPostCode 1
|
|
mov al, %1
|
|
out 0x80, al
|
|
%endmacro
|
|
|