luxos/SysCore/include/sys/declarat.h
2021-09-14 18:34:14 +03:00

21 lines
415 B
C

#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