debuggers.hg

diff xen/include/asm-x86/mm.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 eef1949801b8
children d55d523078f7
line diff
     1.1 --- a/xen/include/asm-x86/mm.h	Sat Jan 29 22:42:20 2005 +0000
     1.2 +++ b/xen/include/asm-x86/mm.h	Mon Jan 31 23:16:27 2005 +0000
     1.3 @@ -222,17 +222,11 @@ void synchronise_pagetables(unsigned lon
     1.4   */
     1.5  #undef  phys_to_machine_mapping
     1.6  
     1.7 -#ifdef __x86_64__
     1.8 -extern unsigned long *machine_to_phys_mapping;
     1.9 -extern unsigned long *phys_to_machine_mapping;
    1.10 -#define m2p_start_mfn virt_to_phys(machine_to_phys_mapping)
    1.11 -#else
    1.12  /* Don't call virt_to_phys on this: it isn't direct mapped.  Using
    1.13     m2p_start_mfn instead. */
    1.14  #define machine_to_phys_mapping ((unsigned long *)RDWR_MPT_VIRT_START)
    1.15  extern unsigned long m2p_start_mfn;
    1.16  #define phys_to_machine_mapping ((unsigned long *)PERDOMAIN_VIRT_START)
    1.17 -#endif
    1.18  
    1.19  #define set_machinetophys(_mfn, _pfn) machine_to_phys_mapping[(_mfn)] = (_pfn)
    1.20