diff --git a/build/components/jackal.TWL/Makefile b/build/components/jackal.TWL/Makefile index 5921c0b7..fd18e91e 100644 --- a/build/components/jackal.TWL/Makefile +++ b/build/components/jackal.TWL/Makefile @@ -42,7 +42,7 @@ SRCS = $(HYENA_SRCDIR)/crt0.LTD.c \ TARGET_NAME = jackal TARGET_NEF = $(TARGET_NAME).tef -LCFILE_SPEC = $(TARGET_NAME).lsf +LCFILE_SPEC = $(TARGET_NAME)$(CODEGEN_ARCH).lsf LCFILE_TEMPLATE = $(TARGET_NAME).lcf.template LDRES_TEMPLATE = $(ROOT)/build/components/armadillo.TWL/armadillo.response.template diff --git a/build/components/jackal.TWL/jackal.thumb.lsf b/build/components/jackal.TWL/jackal.thumb.lsf new file mode 100644 index 00000000..ba9cde6e --- /dev/null +++ b/build/components/jackal.TWL/jackal.thumb.lsf @@ -0,0 +1,107 @@ +#---------------------------------------------------------------------------- +# Project: TwlSDK - components - armadillo.TWL +# File: armadillo.lsf +# +# Copyright 2008 Nintendo. All rights reserved. +# +# These coded insructions, statements, and computer programs contain +# proprietary information of Nintendo of America Inc. and/or Nintendo +# Company Ltd., and are protected by Federal copyright law. They may +# not be disclosed to third parties or copied or duplicated in any form, +# in whole or in part, without the prior written consent of Nintendo. +# +# $Date:: 2008-07-24#$ +# $Rev: 1974 $ +# $Author: yosiokat $ +#---------------------------------------------------------------------------- +# +# Nitro LCF SPEC FILE +# +#-------- +Static $(TARGET_NAME) +{ + Address $(ADDRESS_FLXMAIN) + StackSize 1024 1024 + + Library $(CRT0_O) + Object $(OBJDIR)/initScfg.o +} + +#-------- +Ltdautoload SCRWRAM +{ + Address 0x03758000 + + Library libsubpsyscall.a + Library libsyscall_sp.twl.a + Library $(CW_LIBS) + Library $(ISDBG_LIBS_TWL) + Library $(ISDBG_LIBS_NITRO) + + Object * (.etable) + Object $(OBJDIR)/main.o + + Library libsea_sp$(LIBSUFFIX).a + Library libcrypto_sp$(LIBSUFFIX).a + + Library libos_sp$(LIBSUFFIX).a + Library libmi_sp$(LIBSUFFIX).a + Library libstd_sp$(LIBSUFFIX).a + Library libmath_sp$(LIBSUFFIX).a + Library libpxi_sp$(LIBSUFFIX).a + Library libexi_sp$(LIBSUFFIX).a + Library libi2c_sp$(LIBSUFFIX).a + Library libsdio_sp$(LIBSUFFIX).a + Library libpad_sp$(LIBSUFFIX).a + Library libscfg_sp$(LIBSUFFIX).a + Library libmcu_sp$(LIBSUFFIX).a + Library libcdc_sp$(LIBSUFFIX).a + Library libsnd_sp$(LIBSUFFIX).a + Library libsndex_sp$(LIBSUFFIX).a + Library libspi_sp$(LIBSUFFIX).a + Library libpm_sp.SYSMENU$(LIBSUFFIX).a + Library libtp_sp$(LIBSUFFIX).a + Library libtpex_sp$(LIBSUFFIX).a + Library libnvram_sp$(LIBSUFFIX).a + Library librtc_sp$(LIBSUFFIX).a + Library libfatfs_sp$(LIBSUFFIX).a + Library libwl_sp$(LIBSUFFIX).a + Library libathdrv_sp$(LIBSUFFIX).a + Library libfs_sp$(LIBSUFFIX).a + Library libcard_sp$(LIBSUFFIX).a + Library libcamera_sp$(LIBSUFFIX).a + Library libnwm_sp.SYSMENU$(LIBSUFFIX).a + Library libwvr_sp$(LIBSUFFIX).a + Library libwm_sp$(LIBSUFFIX).a (.bss) + Library libmic_sp$(LIBSUFFIX).a (.bss) + Library libmicex_sp$(LIBSUFFIX).a (.bss) + + Library libboot_sp$(LIBSUFFIX).a + Library libreboot_sp$(LIBSUFFIX).a + Library libhotsw_sp$(LIBSUFFIX).a + Library libreloc_info_sp$(LIBSUFFIX).a + Library libsysmenu_sp$(LIBSUFFIX).a + Library libsysmmcu_sp$(LIBSUFFIX).a + Library libds_sp$(LIBSUFFIX).a + Library libaes_sp$(FIRM_LIBSUFFIX).a + Library libdht_sp$(LIBSUFFIX).a + +# Library libwpa_sp$(LIBSUFFIX).a + Library libwm_sp$(LIBSUFFIX).a (.text) + Library libwm_sp$(LIBSUFFIX).a (.rodata) + Library libwm_sp$(LIBSUFFIX).a (.data) + Library libmic_sp$(LIBSUFFIX).a (.text) + Library libmic_sp$(LIBSUFFIX).a (.rodata) + Library libmic_sp$(LIBSUFFIX).a (.data) + Library libmicex_sp$(LIBSUFFIX).a (.text) + Library libmicex_sp$(LIBSUFFIX).a (.rodata) + Library libmicex_sp$(LIBSUFFIX).a (.data) + + Object * (.wram) + Object * (.ltdwram) + Object * (.rsvwram) + Object * (.main) + Object * (.ltdmain) +} + +# BootROMの鍵データが0x0380c400〜にあるので、jackalのWRAM配置の上限はその値になることに注意。