34 lines
737 B
C
34 lines
737 B
C
//functions.h
|
|
//05/07/03 Josh Holtrop
|
|
//for HOS
|
|
//Modified: 10/30/03
|
|
|
|
extern dword _code;
|
|
extern dword _bss;
|
|
extern dword _end;
|
|
|
|
inline void outportb(unsigned int port, unsigned char value);
|
|
inline void outportw(unsigned int port, unsigned int value);
|
|
inline byte inportb(unsigned short port);
|
|
inline void enable_ints();
|
|
inline void disable_ints();
|
|
inline void restart();
|
|
inline void halt();
|
|
void remap_pics(int pic1, int pic2);
|
|
inline void pic1_mask(byte mask);
|
|
inline void pic2_mask(byte mask);
|
|
inline void eoi();
|
|
inline void eoi2();
|
|
inline dword kernel_size();
|
|
inline void init_timer();
|
|
char *strcat(char *dest, char *src);
|
|
void rtrim(char *str);
|
|
char *ucase(char *str);
|
|
char *lcase(char *str);
|
|
|
|
|
|
|
|
|
|
|
|
|