Need to turn off interrupts again after calling into BIOS.
[pintos-anon] / src / threads / loader.S
index 2bfe1a45304c8756fb1cba4b14bd30af076c6320..95ef9d9cbd349c7c104b9acb626b6c0a9fa4c169 100644 (file)
@@ -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