LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
cfe.h
Go to the documentation of this file.
1#include "lib_types.h"
2#include "lib_queue.h"
3#include "lib_malloc.h"
4#include <ppc/cache.h>
5#include <pci/io.h>
6#include <time/time.h>
7
8#include <string.h>
9#include <stdio.h>
10
11typedef void *hsaddr_t;
12typedef unsigned int physaddr_t;
13
14#define PHYSADDR(x) (x &~ 0x80000000)
15#define KERNADDR(x) (x | 0x80000000)
16#define UNCADDR(x) (x | 0x80000000)
17
18#define console_log(fmt, x...) printf(fmt "\n", x)
unsigned int physaddr_t
Definition: cfe.h:12
void * hsaddr_t
Definition: cfe.h:11