mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Move MAX_DMADOM_PFN to asm/config.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
e2f6e76219
commit
60a59a50a6
3 files changed
+4
-2
No files matched your search
@@ -215,8 +215,6 @@ unsigned long alloc_boot_pages(unsigned long nr_pfns, unsigned long pfn_align)
|
||||
#define MEMZONE_DMADOM 2
|
||||
#define NR_ZONES 3
|
||||
|
||||
|
||||
#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
|
||||
#define pfn_dom_zone_type(_pfn) \
|
||||
(((_pfn) <= MAX_DMADOM_PFN) ? MEMZONE_DMADOM : MEMZONE_DOM)
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
//leave SMP for a later time
|
||||
//#undef CONFIG_SMP
|
||||
|
||||
#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
// can't find where this typedef was before?!?
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
#endif
|
||||
#define STACK_SIZE (PAGE_SIZE << STACK_ORDER)
|
||||
|
||||
#define MAX_DMADOM_PFN 0x7FFFFUL /* 31 addressable bits */
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
extern unsigned long _end; /* standard ELF symbol */
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||