doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
macosx_utils.mm File Reference
#import "../../idlib/precompiled.h"
#import <Foundation/Foundation.h>
#import <mach/mach.h>
#import <mach/vm_map.h>
#include "macosx_local.h"
#include "macosx_sys.h"

Go to the source code of this file.

Macros

#define CD_MOUNT_NAME   "DOOM"
 

Functions

const char * macosx_scanForLibraryDirectory (void)
 
voidosxAllocateMemoryNV (long size, float readFrequency, float writeFrequency, float priority)
 
void osxFreeMemoryNV (void *pointer)
 
voidosxAllocateMemory (long size)
 
void osxFreeMemory (void *pointer)
 
void Sys_FlushCacheMemory (void *base, int bytes)
 

Macro Definition Documentation

#define CD_MOUNT_NAME   "DOOM"

Definition at line 37 of file macosx_utils.mm.

Function Documentation

const char* macosx_scanForLibraryDirectory ( void  )

Definition at line 45 of file macosx_utils.mm.

void* osxAllocateMemory ( long  size)

Definition at line 84 of file macosx_utils.mm.

void* osxAllocateMemoryNV ( long  size,
float  readFrequency,
float  writeFrequency,
float  priority 
)

Definition at line 53 of file macosx_utils.mm.

void osxFreeMemory ( void pointer)

Definition at line 107 of file macosx_utils.mm.

void osxFreeMemoryNV ( void pointer)

Definition at line 74 of file macosx_utils.mm.

void Sys_FlushCacheMemory ( void base,
int  bytes 
)

Definition at line 155 of file macosx_utils.mm.