Accomodate change to common alloc_domheap_page

This commit is contained in:
djm@kirby.fc.hp.com committed 2005-07-29 13:33:04 -07:00
1 parent 0db0723986
commit 581879b5ae
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -145,7 +145,7 @@ static thash_cb_t *init_domain_vhpt(struct vcpu *d)
thash_cb_t *vhpt;
PTA pta_value;
page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER);
page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER, 0);
if ( page == NULL ) {
panic("No enough contiguous memory for init_domain_mm\n");
}
@@ -187,7 +187,7 @@ thash_cb_t *init_domain_tlb(struct vcpu *d)
tlb_special_t *ts;
thash_cb_t *tlb;
page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER);
page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER, 0);
if ( page == NULL ) {
panic("No enough contiguous memory for init_domain_mm\n");
}
@@ -224,7 +224,7 @@ alloc_pmt(struct domain *d)
/* Only called once */
ASSERT(d->arch.pmt);
page = alloc_domheap_pages(NULL, get_order(d->max_pages));
page = alloc_domheap_pages(NULL, get_order(d->max_pages), 0);
ASSERT(page);
d->arch.pmt = page_to_virt(page);
+1 -1
View File
@@ -939,7 +939,7 @@ void check_vtlb_sanity(thash_cb_t *vtlb)
if ( sanity_check == 0 ) return;
sanity_check --;
s_sect.v = 0;
// page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER);
// page = alloc_domheap_pages (NULL, VCPU_TLB_ORDER, 0);
// if ( page == NULL ) {
// panic("No enough contiguous memory for init_domain_mm\n");
// };
+1 -1
View File
@@ -65,7 +65,7 @@ paging_init (void)
#else // CONFIG_VTI
/* Allocate and map the machine-to-phys table */
if ((pg = alloc_domheap_pages(NULL, 10)) == NULL)
if ((pg = alloc_domheap_pages(NULL, 10, 0)) == NULL)
panic("Not enough memory to bootstrap Xen.\n");
memset(page_to_virt(pg), 0x55, 16UL << 20);
#endif // CONFIG_VTI
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.