initial commit!
This commit is contained in:
13
libs/libgccvb/asm.h
Normal file
13
libs/libgccvb/asm.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _LIBGCCVB_ASM_H
|
||||
#define _LIBGCCVB_ASM_H
|
||||
|
||||
|
||||
#define INT_ENABLE asm("CLI;")
|
||||
#define INT_DISABLE asm("SEI;")
|
||||
|
||||
u32 jump_addr(void *addr);
|
||||
extern void set_intlevel(u8 level);
|
||||
extern int get_intlevel();
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user