From: Ben Pfaff Date: Tue, 18 Jan 2005 18:11:11 +0000 (+0000) Subject: Need to turn off interrupts again after calling into BIOS. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a5cb864ab116bac72ebccc4fe0cb3b8e6a87b1a;p=pintos-anon Need to turn off interrupts again after calling into BIOS. --- 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