CTAOS v3
This commit is contained in:
21
SysCore/include/sys/declarat.h
Normal file
21
SysCore/include/sys/declarat.h
Normal file
@ -0,0 +1,21 @@
|
||||
#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
|
Reference in New Issue
Block a user