From e5fa957e7b717bde4bf69b28e098448cd545696c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 18 Jan 2005 18:11:11 +0000 Subject: [PATCH] Need to turn off interrupts again after calling into BIOS. --- src/threads/loader.S | 1 + 1 file changed, 1 insertion(+) diff --git a/src/threads/loader.S b/src/threads/loader.S index 2bfe1a4..95ef9d9 100644 --- a/src/threads/loader.S +++ b/src/threads/loader.S @@ -119,6 +119,7 @@ start: mov ah, 0x88 int 0x15 jc panic + cli # BIOS might have enabled interrupts add eax, 1024 # Total kB memory cmp eax, 0x10000 # Cap at 64 MB jbe 1f -- 2.30.2