mi.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00017 #ifndef __MI_H__
00018 #define __MI_H__
00019
00020 #include <types.h>
00021 #include <broadway.h>
00022
00030 int mi_initialize(void);
00038 int mi_shutdown(void);
00039
00054 int mi_protect_region(void* addr, int size, BOOL r, BOOL w, int (*exec)(u32 irq, void* data), void* data);
00061 int mi_unprotect_region(int rgn);
00062
00068 void irq_mi_enable(u32 irq);
00074 void irq_mi_disable(u32 irq);
00075
00076 #endif
00077