X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Finclude%2Fmm_phys.h;h=51a9cd30c88cacf2c1ed51c6015ef6b6cae19980;hb=d52a53f035af92941c0cafe5f81888fed16d2462;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..51a9cd30 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 Addr); +extern void MM_DerefPhys(tPAddr Addr); +extern int MM_GetRefCount(tPAddr Addr); #endif