search for: pagetable_ord

Displaying 2 results from an estimated 2 matches for "pagetable_ord".

Did you mean: pagetable_order
2011 Mar 09
0
[PATCH 1/5] x86: don''t BUG() post-boot in alloc_xen_pagetable()
...f ( cpu_has_page1gb && !(((virt >> PAGE_SHIFT) | mfn) & @@ -5262,6 +5265,8 @@ int map_pages_to_xen( #endif pl2e = virt_to_xen_l2e(virt); + if ( !pl2e ) + return -ENOMEM; if ( ((((virt>>PAGE_SHIFT) | mfn) & ((1<<PAGETABLE_ORDER)-1)) == 0) && (nr_mfns >= (1<<PAGETABLE_ORDER)) && --- 2011-03-09.orig/xen/arch/x86/x86_32/mm.c +++ 2011-03-09/xen/arch/x86/x86_32/mm.c @@ -48,7 +48,8 @@ void *alloc_xen_pagetable(void) if ( !early_boot ) { void *v = alloc_xenheap_page();...
2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...(_slot) \ (((_slot >> 8) * 0xffff000000000000) | (_slot << PML4_ENTRY_BITS)) +#define GB(_gb) (_gb << 30) #endif /* @@ -210,22 +212,22 @@ extern unsigned int video_mode, video_fl #define PERDOMAIN_MBYTES (PML4_ENTRY_BYTES >> (20 + PAGETABLE_ORDER)) /* Slot 261: machine-to-phys conversion table (16GB). */ #define RDWR_MPT_VIRT_START (PML4_ADDR(261)) -#define RDWR_MPT_VIRT_END (RDWR_MPT_VIRT_START + (16UL<<30)) +#define RDWR_MPT_VIRT_END (RDWR_MPT_VIRT_START + GB(16)) /* Slot 261: page-frame information array (16GB)...