Force 32 bit physical addresses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37220 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3553f1894d
commit
06a6bec0c0
@ -1107,7 +1107,7 @@ static Symbios *create_cardinfo(int num, pci_info *pi, int flags)
|
||||
uchar *a;
|
||||
physical_entry entries[2];
|
||||
aid = create_area(name, (void **)&a, B_ANY_KERNEL_ADDRESS, 4096*5,
|
||||
B_CONTIGUOUS, B_READ_AREA | B_WRITE_AREA);
|
||||
B_32_BIT_MEMORY, B_READ_AREA | B_WRITE_AREA);
|
||||
if(aid == B_ERROR || aid == B_BAD_VALUE || aid == B_NO_MEMORY){
|
||||
free(s);
|
||||
return NULL;
|
||||
|
@ -832,7 +832,7 @@ static BusLogic *create_cardinfo(int num, int iobase, int irq)
|
||||
#else
|
||||
bl->box_count = MAX_CCB_COUNT;
|
||||
aid = create_area("bl_workspace", (void **)&a, B_ANY_KERNEL_ADDRESS, 4096*5,
|
||||
B_CONTIGUOUS, B_READ_AREA | B_WRITE_AREA);
|
||||
B_32_BIT_MEMORY, B_READ_AREA | B_WRITE_AREA);
|
||||
if(aid == B_ERROR || aid == B_BAD_VALUE || aid == B_NO_MEMORY) {
|
||||
free(bl);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user