mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
ソースの整理3
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2875 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
809f19f081
commit
b25b9ce9ea
@ -53,16 +53,13 @@ SRCDIR = src \
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||||
|
|
||||||
MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' \
|
MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)' \
|
||||||
-DDISABLE_DEBUG='$(SYSM_DISABLE_DEBUG)'
|
-DDISABLE_DEBUG='$(SYSM_DISABLE_DEBUG)'
|
||||||
|
|
||||||
MAKETAD_FLAGS += -s
|
MAKETAD_FLAGS += -s
|
||||||
|
|
||||||
SYSMENU_LIBS = \
|
|
||||||
libnamut$(TWL_LIBSUFFIX).a
|
|
||||||
|
|
||||||
SDK_APPEND_LIBS = \
|
SDK_APPEND_LIBS = \
|
||||||
libes$(TWL_LIBSUFFIX).a \
|
libes$(TWL_LIBSUFFIX).a \
|
||||||
libboc$(TWL_LIBSUFFIX).a \
|
libboc$(TWL_LIBSUFFIX).a \
|
||||||
@ -70,8 +67,7 @@ SDK_APPEND_LIBS = \
|
|||||||
libnam$(TWL_LIBSUFFIX).a \
|
libnam$(TWL_LIBSUFFIX).a \
|
||||||
libsea$(TWL_LIBSUFFIX).a \
|
libsea$(TWL_LIBSUFFIX).a \
|
||||||
liblcfg$(TWL_LIBSUFFIX).a \
|
liblcfg$(TWL_LIBSUFFIX).a \
|
||||||
libna$(TWL_LIBSUFFIX).a \
|
libna$(TWL_LIBSUFFIX).a
|
||||||
liberrorlog$(TWL_LIBSUFFIX).a
|
|
||||||
|
|
||||||
LLIBRARIES += $(SYSMENU_LIBS) $(SDK_APPEND_LIBS)
|
LLIBRARIES += $(SYSMENU_LIBS) $(SDK_APPEND_LIBS)
|
||||||
|
|
||||||
@ -85,7 +81,6 @@ INSTALL_DIR = $(SDK_NMENU_DATADIR)
|
|||||||
|
|
||||||
do-build: $(TARGETS)
|
do-build: $(TARGETS)
|
||||||
|
|
||||||
#include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
||||||
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
|
||||||
|
|
||||||
#===== End of Makefile =====
|
#===== End of Makefile =====
|
||||||
|
|||||||
@ -33,6 +33,30 @@ extern "C" {
|
|||||||
typedef void* (*KAMIAlloc)(u32 size);
|
typedef void* (*KAMIAlloc)(u32 size);
|
||||||
typedef void (*KAMIFree)(void* ptr);
|
typedef void (*KAMIFree)(void* ptr);
|
||||||
|
|
||||||
|
|
||||||
|
// DS-IPL2ƒwƒbƒ_
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
u16 reserved_0h[4];
|
||||||
|
u32 ds_key;
|
||||||
|
u16 ds_arm9_romAdr;
|
||||||
|
u16 ds_arm9_ramAdr;
|
||||||
|
u16 ds_arm7_romAdr;
|
||||||
|
u16 ds_arm7_ramAdr;
|
||||||
|
u16 ds_arm9_romOffsetUnit:3;
|
||||||
|
u16 ds_arm9_ramOffsetUnit:3;
|
||||||
|
u16 ds_arm7_romOffsetUnit:3;
|
||||||
|
u16 ds_arm7_ramOffsetUnit:3;
|
||||||
|
u16 :2;
|
||||||
|
u16 ds_header_ver:2;
|
||||||
|
u16 ds_data_romAdr;
|
||||||
|
u64 card_key;
|
||||||
|
u16 ncd_romAdr;
|
||||||
|
u16 reserved_24h[2];
|
||||||
|
u16 ds_data_crc16;
|
||||||
|
}
|
||||||
|
NORHeaderDS;
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*
|
/*---------------------------------------------------------------------------*
|
||||||
ŠÖ<EFBFBD>”’è‹`
|
ŠÖ<EFBFBD>”’è‹`
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -21,7 +21,6 @@
|
|||||||
#include <nitro/snd.h>
|
#include <nitro/snd.h>
|
||||||
#include <twl/nam.h>
|
#include <twl/nam.h>
|
||||||
#include <nitro/nvram.h>
|
#include <nitro/nvram.h>
|
||||||
#include <firm/format/firm_common.h>
|
|
||||||
#include <../build/libraries/spi/ARM9/include/spi.h>
|
#include <../build/libraries/spi/ARM9/include/spi.h>
|
||||||
|
|
||||||
#include "common_utility.h"
|
#include "common_utility.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user