Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

physmem.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Physical_memory
 The Physical_memory map keeps track of which physical memory pages are available for allocation. More...


Enumerations

enum  Memory_class { MEM_CLASS_BELOW_1MB, MEM_CLASS_ABOVE_1MB, MEM_CLASS_ANY }

Variables

const unsigned int PAGE_SIZE = 4096


Enumeration Type Documentation

enum Memory_class
 

This enum is used for specifying what sort of memory is required when allocating physical memory pages.

For example, some DMA transfers require their buffers to be below the one megabyte mark. It is assumed that the memory classes are ordered in descending order of preciousness.

Enumeration values:
MEM_CLASS_BELOW_1MB 
MEM_CLASS_ABOVE_1MB 
MEM_CLASS_ANY 


Variable Documentation

const unsigned int PAGE_SIZE = 4096 [static]
 


Torsion Operating System, Copyright (C) 2000-2002 Dan Helfman