pgMTraps.h File Reference

#include "CPUDEFS.H"
#include "pgMemMgr.h"
#include <MacTypes.h>
#include <Files.h>
#include <Memory.h>

Include dependency graph for pgMTraps.h:

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

Go to the source code of this file.

Defines

#define DEF_MASTER_QTY   256
#define MASTER_ENTRY_SIZE   sizeof(memory_ref)
#define MASTER_ENTRY_NULL   MEM_NULL;
#define SPARE_TIRE_SIZE   0x00004000
#define pgMemoryPtr(ref)   (mem_rec_ptr) *((Handle) ref)
#define pgFreePtr(ref)   {}
#define pgAllocMemory(bytesize)   (generic_var)NewHandle(bytesize)
#define pgAllocMemoryClear(bytesize)   (generic_var)NewHandleClear(bytesize)
#define pgLockMemory(ref)   HLock((Handle) ref)
#define pgLockMemoryHi(ref)   HLockHi((Handle) ref)
#define pgUnlockMemory(ref)   HUnlock((Handle) ref)
#define pgResizeMemory(globals, ref, bytesize)
#define pgMemorySize(ref)   GetHandleSize((Handle) ref)
#define pgFreeMemory(ref)   DisposeHandle((Handle) ref)
#define pgMemoryError(globals)   MemError()
#define pgRecoverMemory(ptr)   (memory_ref)RecoverHandle((Ptr) ptr)


Define Documentation

#define DEF_MASTER_QTY   256
 

Definition at line 20 of file pgMTraps.h.

#define MASTER_ENTRY_NULL   MEM_NULL;
 

Definition at line 31 of file pgMTraps.h.

#define MASTER_ENTRY_SIZE   sizeof(memory_ref)
 

Definition at line 30 of file pgMTraps.h.

#define pgAllocMemory bytesize   )     (generic_var)NewHandle(bytesize)
 

Definition at line 36 of file pgMTraps.h.

#define pgAllocMemoryClear bytesize   )     (generic_var)NewHandleClear(bytesize)
 

Definition at line 37 of file pgMTraps.h.

#define pgFreeMemory ref   )     DisposeHandle((Handle) ref)
 

Definition at line 45 of file pgMTraps.h.

#define pgFreePtr ref   )     {}
 

Definition at line 35 of file pgMTraps.h.

#define pgLockMemory ref   )     HLock((Handle) ref)
 

Definition at line 38 of file pgMTraps.h.

#define pgLockMemoryHi ref   )     HLockHi((Handle) ref)
 

Definition at line 39 of file pgMTraps.h.

#define pgMemoryError globals   )     MemError()
 

Definition at line 46 of file pgMTraps.h.

#define pgMemoryPtr ref   )     (mem_rec_ptr) *((Handle) ref)
 

Definition at line 34 of file pgMTraps.h.

#define pgMemorySize ref   )     GetHandleSize((Handle) ref)
 

Definition at line 44 of file pgMTraps.h.

#define pgRecoverMemory ptr   )     (memory_ref)RecoverHandle((Ptr) ptr)
 

Definition at line 47 of file pgMTraps.h.

#define pgResizeMemory globals,
ref,
bytesize   ) 
 

Value:

{ \
        SetHandleSize((Handle) ref, bytesize);          \
        }

Definition at line 41 of file pgMTraps.h.

#define pgUnlockMemory ref   )     HUnlock((Handle) ref)
 

Definition at line 40 of file pgMTraps.h.

#define SPARE_TIRE_SIZE   0x00004000
 

Definition at line 32 of file pgMTraps.h.


Generated on Fri Jun 9 22:24:33 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6