Fix a few more uses of PAGE_SIZE
This commit is contained in:
parent
6caa391f67
commit
5bb8320035
@ -150,7 +150,7 @@ static void fwohci_task_dma(void *);
|
||||
/*
|
||||
* memory allocated for DMA programs
|
||||
*/
|
||||
#define DMA_PROG_ALLOC (8 * PAGE_SIZE)
|
||||
#define DMA_PROG_ALLOC (8 * B_PAGE_SIZE)
|
||||
|
||||
#define NDB FWMAXQUEUE
|
||||
|
||||
|
@ -111,7 +111,7 @@ CDaffyDuck::~CDaffyDuck()
|
||||
{
|
||||
|
||||
if (NULL != m_pDuckPage)
|
||||
m_pOsSupport->FreePhysPageBlock( PAGE_SIZE, m_pDuckPage);
|
||||
m_pOsSupport->FreePhysPageBlock( B_PAGE_SIZE, m_pDuckPage);
|
||||
|
||||
} // CDaffyDuck::~CDaffyDuck()
|
||||
|
||||
@ -823,7 +823,7 @@ CDaffyDuck * CDaffyDuck::MakeDaffyDuck(COsSupport *pOsSupport)
|
||||
PHYS_ADDR PhysAddr;
|
||||
PPAGE_BLOCK pPageBlock;
|
||||
|
||||
Status = pOsSupport->AllocPhysPageBlock( PAGE_SIZE, pPageBlock);
|
||||
Status = pOsSupport->AllocPhysPageBlock( B_PAGE_SIZE, pPageBlock);
|
||||
if (ECHOSTATUS_OK != Status)
|
||||
{
|
||||
ECHO_DEBUGPRINTF(("CDaffyDuck::CDaffyDuck - duck entry page block malloc failed\n"));
|
||||
|
@ -10,7 +10,7 @@ UseHeaders $(HAIKU_PRIVATE_KERNEL_HEADERS) : true ;
|
||||
Includes [ FGristFiles kernel_c++_structs.h ]
|
||||
: <src!system!kernel>kernel_c++_struct_sizes.h ;
|
||||
|
||||
SubDirCcFlags [ FDefines _KERNEL=1 ] ;
|
||||
SubDirCcFlags [ FDefines _KERNEL=1 _XOPEN_SOURCE ] ;
|
||||
|
||||
KernelStaticLibrary libfreebsd_network.a :
|
||||
bus.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user