Mercurial > sos > sos
view include/system.h @ 23:f68b59af5ea6
Made a macro for the address of the start of my heap
author | Jonathan Pevarnek <pevarnj@gmail.com> |
---|---|
date | Wed, 16 Mar 2011 00:47:21 -0400 |
parents | 7c2adb65ceac |
children | 1a070e843bf6 |
line wrap: on
line source
#ifndef __SYSTEM_H #define __SYSTEM_H #define NULL ((void*) 0) #define CON_LEN 132 #define HEAP_START 0x200000 typedef unsigned long long u64; typedef signed long long s64; typedef unsigned int u32; typedef signed int s32; typedef unsigned short u16; typedef signed short s16; typedef unsigned char u8; typedef signed char s8; #ifdef __cplusplus extern "C" { #endif extern int putline(char *buf, int len); extern int getline(char *buf, int len); #ifdef __cplusplus } #endif #endif