Newer
Older
ubixos-old / src / sys / include / mm / vmm.h
#ifndef _VMM_H
#define _VMM_H

#include <ubixos/types.h>
#include <mm/paging.h>

typedef struct _mMap mMap;
struct _mMap
{
	uInt32		pageAddr;	/* same as physicalAddr for kernel */
	mMap		*link;		/* the next contiguous block */
	uInt32  	physicalAddr;
	mMap 		*First;
	mMap 		*Last;
	mMap 		*Next;
	mMap 		*Previous;
};

int		numPages;
uInt32		freePages;
uInt32		usedPages;
mMap            *mmFreePages; 

#endif