1 /*---------------------------------------------------------------------------* 2 Project: OS - Low Level Instruction Cache Operations Library 3 File: OSIC.h 4 5 Copyright 1998, 1999 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Log: OSIC.h,v $ 14 Revision 1.1.1.1 2005/12/29 06:53:28 hiratsu 15 Initial import. 16 17 Revision 1.1.1.1 2005/05/12 02:41:07 yasuh-to 18 Ported from dolphin source tree. 19 20 21 4 1999/07/27 5:30p Shiki 22 Cleanup. 23 24 3 1999/05/11 4:43p Shiki 25 Refreshed include tree. 26 27 1 1999/04/30 12:49p Tianli01 28 29 2 1999/04/21 4:13p Tianli01 30 moved ICSync to OSIC.h 31 32 1 1999/03/04 2:23p Tianli01 33 Initial check-in to new tree 34 35 1 1999/02/04 6:02p Tianli01 36 Initial check-in. 37 38 $NoKeywords: $ 39 *---------------------------------------------------------------------------*/ 40 41 /* 42 This header file defines the low level instruction cache operations. 43 Most should be macros to the underlying assembly routines, but others 44 will manipulate hardware setup registers. 45 */ 46 47 #ifndef __OSIC_H__ 48 #define __OSIC_H__ 49 50 #ifdef __cplusplus 51 extern "C" { 52 #endif 53 54 void ICSync ( void ); 55 void ICFlashInvalidate ( void ); 56 void ICEnable ( void ); 57 void ICDisable ( void ); 58 void ICFreeze ( void ); 59 void ICUnfreeze ( void ); 60 void ICBlockInvalidate ( void* addr ); 61 62 #ifdef __cplusplus 63 } 64 #endif 65 66 #endif // __OSIC_H__ 67