Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 619 → Rev 620

/shark/trunk/oslib/ll/i386/stdlib.h
30,6 → 30,13
#define EXIT_FAILURE 1 /* Failing exit status. */
#define EXIT_SUCCESS 0 /* Successful exit status. */
 
/* Added by Nino - Begin */
#define EXIT_MODE_HALT 0 /* End the system using the 'hlt' instruction. */
#define EXIT_MODE_COLD 1 /* End the system with a _cold_ reboot. */
#define EXIT_MODE_WARM 2 /* End the system with a _warm_ reboot. */
#define EXIT_MODE_REAL 3 /* End the system returning in real-mode. */
/* Added by Nino - End */
 
#ifndef NULL
#define NULL 0L
#endif
69,8 → 76,8
 
/* The stdlib exit functions */
void l1_exit(int code);
int ll_set_reboot(int mode);
 
 
/* Stdlib Macro */
#ifndef __WC16__
#define labs(x) abs(x)