X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fmm_phys.h;h=f72ebf6aa765c1a9ca9352a7444566450d9e4f72;hb=53436af44ded8bc345d4d3d1a9fe25de4d6f23bc;hp=65ab091b92b26f455a82a58bc8b3b97b712fda44;hpb=8bc40333b1401d7616b225945fee53d972c2f418;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/include/mm_phys.h b/Kernel/arch/x86/include/mm_phys.h index 65ab091b..f72ebf6a 100644 --- a/Kernel/arch/x86/include/mm_phys.h +++ b/Kernel/arch/x86/include/mm_phys.h @@ -6,8 +6,10 @@ #define _MM_PHYS_H // === FUNCTIONS === -extern Uint32 MM_AllocPhys(); -extern void MM_RefPhys(Uint32 Addr); -extern void MM_DerefPhys(Uint32 Addr); +extern tPAddr MM_AllocPhys(); +extern tPAddr MM_AllocPhysRange(int Pages, int MaxBits); +extern void MM_RefPhys(tPAddr PAddr); +extern void MM_DerefPhys(tPAddr PAddr); +extern int MM_GetRefCount(tPAddr Addr); #endif