LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
mf-runtime.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __mf_cache
 

Macros

#define __MF_CHECK_READ   0
 
#define __MF_CHECK_WRITE   1
 
#define __MF_TYPE_NOACCESS   0
 
#define __MF_TYPE_HEAP   1
 
#define __MF_TYPE_HEAP_I   2
 
#define __MF_TYPE_STACK   3
 
#define __MF_TYPE_STATIC   4
 
#define __MF_TYPE_GUESS   5
 

Typedefs

typedef void * __mf_ptr_t
 
typedef unsigned int __mf_uintptr_t __attribute__((__mode__(__pointer__)))
 
typedef __SIZE_TYPE__ __mf_size_t
 

Functions

void __mf_check (void *ptr, __mf_size_t sz, int type, const char *location) __attribute((nothrow))
 
void __mf_register (void *ptr, __mf_size_t sz, int type, const char *name) __attribute((nothrow))
 
void __mf_unregister (void *ptr, __mf_size_t sz, int type) __attribute((nothrow))
 
unsigned __mf_watch (void *ptr, __mf_size_t sz)
 
unsigned __mf_unwatch (void *ptr, __mf_size_t sz)
 
void __mf_report ()
 
int __mf_set_options (const char *opts)
 
void mf_check (void *addr, int size, int check_reads, int check_writes, int halt_on_access)
 

Variables

struct __mf_cache __mf_lookup_cache []
 
__mf_uintptr_t __mf_lc_mask
 
unsigned char __mf_lc_shift
 

Macro Definition Documentation

◆ __MF_CHECK_READ

#define __MF_CHECK_READ   0

Definition at line 53 of file mf-runtime.h.

◆ __MF_CHECK_WRITE

#define __MF_CHECK_WRITE   1

Definition at line 54 of file mf-runtime.h.

◆ __MF_TYPE_GUESS

#define __MF_TYPE_GUESS   5

Definition at line 64 of file mf-runtime.h.

◆ __MF_TYPE_HEAP

#define __MF_TYPE_HEAP   1

Definition at line 60 of file mf-runtime.h.

◆ __MF_TYPE_HEAP_I

#define __MF_TYPE_HEAP_I   2

Definition at line 61 of file mf-runtime.h.

◆ __MF_TYPE_NOACCESS

#define __MF_TYPE_NOACCESS   0

Definition at line 59 of file mf-runtime.h.

◆ __MF_TYPE_STACK

#define __MF_TYPE_STACK   3

Definition at line 62 of file mf-runtime.h.

◆ __MF_TYPE_STATIC

#define __MF_TYPE_STATIC   4

Definition at line 63 of file mf-runtime.h.

Typedef Documentation

◆ __attribute__

struct edid __attribute__
inline

Definition at line 34 of file mf-runtime.h.

◆ __mf_ptr_t

typedef void* __mf_ptr_t

Definition at line 33 of file mf-runtime.h.

◆ __mf_size_t

typedef __SIZE_TYPE__ __mf_size_t

Definition at line 35 of file mf-runtime.h.

Function Documentation

◆ __mf_check()

void __mf_check ( void *  ptr,
__mf_size_t  sz,
int  type,
const char *  location 
)

◆ __mf_register()

void __mf_register ( void *  ptr,
__mf_size_t  sz,
int  type,
const char *  name 
)

◆ __mf_report()

void __mf_report ( )

◆ __mf_set_options()

int __mf_set_options ( const char *  opts)

◆ __mf_unregister()

void __mf_unregister ( void *  ptr,
__mf_size_t  sz,
int  type 
)

◆ __mf_unwatch()

unsigned __mf_unwatch ( void *  ptr,
__mf_size_t  sz 
)

◆ __mf_watch()

unsigned __mf_watch ( void *  ptr,
__mf_size_t  sz 
)

◆ mf_check()

void mf_check ( void *  addr,
int  size,
int  check_reads,
int  check_writes,
int  halt_on_access 
)

Definition at line 130 of file mf-simplecheck.c.

Variable Documentation

◆ __mf_lc_mask

__mf_uintptr_t __mf_lc_mask
extern

Definition at line 106 of file mf-simplecheck.c.

◆ __mf_lc_shift

unsigned char __mf_lc_shift
extern

Definition at line 107 of file mf-simplecheck.c.

◆ __mf_lookup_cache

struct __mf_cache __mf_lookup_cache[]
extern

Definition at line 105 of file mf-simplecheck.c.