Changeset dd4d6b0 in mainline for arch/amd64/src/amd64.c


Ignore:
Timestamp:
2006-02-06T23:47:47Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37b451f7
Parents:
40ca402
Message:

Basic amd syscall support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/amd64.c

    r40ca402 rdd4d6b0  
    4646#include <panic.h>
    4747#include <interrupt.h>
     48#include <arch/syscall.h>
    4849
    4950/** Disable I/O on non-privileged levels
     
    100101        /* Enable No-execute pages */
    101102        set_efer_flag(AMD_NXE_FLAG);
    102         /* Enable SYSCALL/SYSRET */
    103         set_efer_flag(AMD_SCE_FLAG);
    104103        /* Enable FPU */
    105104        cpu_setup_fpu();
     105
    106106        /* Initialize segmentation */
    107107        pm_init();
     
    113113        /* Disable alignment check */
    114114        clean_AM_flag();
    115        
    116115
    117116        if (config.cpu_active == 1) {
     
    133132                ega_init();     /* video */
    134133        }
     134        /* Setup fast SYSCALL/SYSRET */
     135        syscall_setup_cpu();
     136
    135137}
    136138
Note: See TracChangeset for help on using the changeset viewer.