X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fmm_phys.h;h=1e05c01a7283c516c5dfa7050b1086788e2f67aa;hb=126cef9a37b4859e3d6555760a5bbaa308a715d6;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..1e05c01a 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(void); +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