debuggers.hg

diff xen/include/asm-x86/fixmap.h @ 3632:fec8b1778268

bitkeeper revision 1.1159.212.60 (41febc4bKKSkh9u-Zes9v2CmBuLZxA)

More bootstrap fixes for x86/64. Next thing to do is sort out the IDT and
get traps.c working; then we can get rid of a bunch of dummy labels from
end of boot/x86_64.S. We're also going to need some kind of entry.S before
we can safely enable interrupts. Also bear in mind that not all of physical
RAM may be mapped (only first 1GB) and no m2p table is yet allocated or
mapped. Plenty to be done!
author kaf24@viper.(none)
date Mon Jan 31 23:16:27 2005 +0000 (2005-01-31)
parents 6b76ae4b9ea7
children bbe8541361dd
line diff
     1.1 --- a/xen/include/asm-x86/fixmap.h	Sat Jan 29 22:42:20 2005 +0000
     1.2 +++ b/xen/include/asm-x86/fixmap.h	Mon Jan 31 23:16:27 2005 +0000
     1.3 @@ -39,18 +39,18 @@ enum fixed_addresses {
     1.4      __end_of_fixed_addresses
     1.5  };
     1.6  
     1.7 -#define FIXADDR_TOP   (0xffffe000UL)
     1.8 +#define FIXADDR_TOP   (IOREMAP_VIRT_END - PAGE_SIZE)
     1.9  #define FIXADDR_SIZE  (__end_of_fixed_addresses << PAGE_SHIFT)
    1.10  #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
    1.11  
    1.12 -extern void __set_fixmap(enum fixed_addresses idx,
    1.13 -                         l1_pgentry_t entry);
    1.14 +extern void __set_fixmap(
    1.15 +    enum fixed_addresses idx, unsigned long p, unsigned long flags);
    1.16  
    1.17  #define set_fixmap(idx, phys) \
    1.18 -    __set_fixmap(idx, mk_l1_pgentry(phys|PAGE_HYPERVISOR))
    1.19 +    __set_fixmap(idx, phys, PAGE_HYPERVISOR)
    1.20  
    1.21  #define set_fixmap_nocache(idx, phys) \
    1.22 -    __set_fixmap(idx, mk_l1_pgentry(phys|PAGE_HYPERVISOR_NOCACHE))
    1.23 +    __set_fixmap(idx, phys, PAGE_HYPERVISOR_NOCACHE)
    1.24  
    1.25  #define fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
    1.26