41 lines
730 B
C
41 lines
730 B
C
// hos_defines.h
|
|
// Author: Josh Holtrop
|
|
// Date: 08/15/04
|
|
// Modified: 08/16/04
|
|
|
|
#ifndef __HOS_DEFINES_H__
|
|
#define __HOS_DEFINES_H__ __HOS_DEFINES_H__
|
|
|
|
#define PARALLEL_DEBUG
|
|
|
|
#define HOS_TIMER_FREQ 1000
|
|
|
|
#define VIRT_OFFSET 0xC0000000
|
|
#define PHYS_LOAD 0x00108000
|
|
#define HEAP_START 0xD0000000
|
|
#define HEAP_LENGTH 0x20000000
|
|
|
|
#define CONSOLE_MEMORY 0xC00B8000
|
|
#define BIOS_CHAR_MAP 0xC00FFA6E
|
|
|
|
#define MAX_MODULES 16
|
|
#define MAX_MMAP 16
|
|
|
|
#define NULL 0
|
|
#define INT_MIN -42
|
|
|
|
#define New(x) kcalloc(1, sizeof(x))
|
|
|
|
typedef unsigned long long u64_t;
|
|
typedef unsigned int u32_t;
|
|
typedef unsigned short u16_t;
|
|
typedef unsigned char u8_t;
|
|
typedef unsigned char byte;
|
|
|
|
extern u32_t _end;
|
|
extern u32_t _bss;
|
|
extern u32_t start;
|
|
|
|
#endif
|
|
|