Changeset 6f878b7 in mainline for arch/amd64/include


Ignore:
Timestamp:
2005-08-30T15:06:03Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9387ea
Parents:
1e9a463
Message:

AMD64 now can switch into long mode.
Basic page tables working.

Location:
arch/amd64/include
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/mm/page.h

    r1e9a463 r6f878b7  
    3333#include <arch/mm/frame.h>
    3434#include <arch/types.h>
     35#include <arch/mm/ptl.h>
    3536
    3637#define PAGE_SIZE       FRAME_SIZE
    37 
    38 #define KA2PA(x)        (((__address) (x)) + 0x80000000)
    39 #define PA2KA(x)        (((__address) (x)) - 0x80000000)
    4038
    4139#define PTL0_INDEX_ARCH(vaddr)          0
  • arch/amd64/include/pm.h

    r1e9a463 r6f878b7  
    3535
    3636#define IDT_ITEMS 64
    37 #define GDT_ITEMS 6
     37#define GDT_ITEMS 7
    3838
    3939#define NULL_DES        0
     
    5353#define AR_CODE         (3<<3)
    5454#define AR_WRITABLE     (1<<1)
     55#define AR_READABLE     (1<<1)
    5556#define AR_INTERRUPT    (0xe)
    5657#define AR_TSS          (0x9)
Note: See TracChangeset for help on using the changeset viewer.