Changeset 57c2a87 in mainline for kernel/arch/ia32/src/smp/ap.S


Ignore:
Timestamp:
2016-05-05T13:02:20Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0d9abcd
Parents:
811770c
Message:

Avoid even more magic numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/smp/ap.S

    r811770c r57c2a87  
    3737#include <arch/mm/page.h>
    3838#include <arch/pm.h>
     39#include <arch/cpu.h>
    3940
    4041.section K_TEXT_START, "ax"
     
    6364        /* switch to protected mode */
    6465        movl %cr0, %eax
    65         orl $1, %eax
     66        orl $CR0_PE, %eax
    6667        movl %eax, %cr0
    6768        jmpl $KTEXT, $jump_to_kernel - BOOT_OFFSET + AP_BOOT_OFFSET
Note: See TracChangeset for help on using the changeset viewer.