mi.h

Go to the documentation of this file.
00001 /*
00002         libbroadway - A general purpose library to control the Wii.
00003         MI support
00004 
00005 Copyright (C) 2010              Alex Marshall <trap15@raidenii.net>
00006 
00007 # This code is licensed to you under the terms of the GNU GPL, version 2;
00008 # see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
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 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated by  doxygen 1.6.3