1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - PXI - libraries
3   File:     pxi_init.c
4 
5   Copyright 2003-2008 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   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16  *---------------------------------------------------------------------------*/
17 #include  <nitro/pxi.h>
18 
19 #include  <nitro/misc.h>               // For filling in .version
20 
21 /*
22  * If not SDK_FINALROM, fill .version with a string
23  */
24 #ifndef SDK_FINALROM
25 #ifdef SDK_ARM9
26 #include <nitro/version_begin.h>
27 SDK_DEFINE_MIDDLEWARE(checkString, "NINTENDO", "DEBUG");
28 #include <nitro/version_end.h>
29 #endif
30 #endif
31 
32 /*---------------------------------------------------------------------------*
33   Name:         PXI_Init
34 
35   Description:  Initialize the PXI system.
36 
37   Arguments:    None.
38 
39   Returns:      None.
40  *---------------------------------------------------------------------------*/
PXI_Init(void)41 void PXI_Init(void)
42 {
43 #ifndef SDK_FINALROM
44 #ifdef SDK_ARM9
45     SDK_USING_MIDDLEWARE(checkString);
46 #endif
47 #endif
48     PXI_InitFifo();
49 }
50