luxos/SysCore/include/sys/declarat.h

21 lines
415 B
C
Raw Normal View History

2021-09-14 15:34:14 +00:00
#ifndef __DECLARAT_H
#define __DECLARAT_H
// Data type declarations
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned int dword;
// Functions
void system_init();
void isrs_install();
void irq_install_handler(int irq, void (*handler)(ISR_stack_regs *r));
void irq_uninstall_handler(int irq);
void irq_install();
void kb_handler(ISR_stack_regs *r);
void reboot();
void kb_waitin();
#endif