From e45f1cb27defef7981e9b07a27c85332a08b76cb Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Fri, 4 Oct 2024 09:55:45 -0400 Subject: [PATCH] move cdecl macros to nearly the top so early functions can use them --- src/stage2/stage2.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stage2/stage2.nasm b/src/stage2/stage2.nasm index 44684dd..e98146c 100755 --- a/src/stage2/stage2.nasm +++ b/src/stage2/stage2.nasm @@ -26,6 +26,7 @@ nop ; boot drive in dl ; active partition offset in si +%include "cdecl16.inc" %include "entry.inc" init: cli ; We do not want to be interrupted @@ -55,7 +56,6 @@ init: %include "memory.inc" %include "kmem_func.inc" %include "partition_table.inc" -%include "cdecl16.inc" %include "fat32/bpb.inc" %include "fat32/fat32_structures.inc"