Remove lots of unused #define's from mmu.h.
[pintos-anon] / src / threads / loader.S
index 8e5eeb722e1051c7b94df7f3b7ff1ce8f8b51268..5a8eacde275eeab9017b69385987193567d77694 100644 (file)
 # first byte of the kernel, where start.S is linked.
 ##############################################################################
        
+/* Flags in control register 0 */
+#define CR0_PE 0x00000001      /* Protection Enable. */
+#define CR0_EM 0x00000004      /* (Floating-point) Emulation. */
+#define CR0_PG 0x80000000      /* Paging. */
+
 .globl start                           # Entry point   
 start: .code16                         # This runs in real mode
        cli                             # Disable interrupts