From e2435eeb7a2772661abd3c0e5b31b693f3c93e3a Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 26 Dec 2024 15:47:22 -0800 Subject: [PATCH] Split and link OSRtc OSSync for 0-01 --- config/GM8E01_01/splits.txt | 7 +++++++ configure.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/config/GM8E01_01/splits.txt b/config/GM8E01_01/splits.txt index 8cb42406..8951ea62 100644 --- a/config/GM8E01_01/splits.txt +++ b/config/GM8E01_01/splits.txt @@ -3840,6 +3840,13 @@ Dolphin/os/OSResetSW.c: .text start:0x80383678 end:0x80383A04 .sbss start:0x805A9AE0 end:0x805A9B00 +Dolphin/os/OSRtc.c: + .text start:0x80383A04 end:0x803845C0 + .bss start:0x80541780 end:0x805417D8 + +Dolphin/os/OSSync.c: + .text start:0x803845C0 end:0x80384644 + Dolphin/os/OSThread.c: .text start:0x80384644 end:0x80385584 .bss start:0x805417D8 end:0x805421D0 diff --git a/configure.py b/configure.py index f0a47487..c9400d4c 100755 --- a/configure.py +++ b/configure.py @@ -1187,8 +1187,8 @@ config.libs = [ Object(NonMatching, "Dolphin/os/OSReboot.c"), Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSReset.c"), Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSResetSW.c"), - Object(MatchingFor("GM8E01_00"), "Dolphin/os/OSRtc.c"), - Object(MatchingFor("GM8E01_00"), "Dolphin/os/OSSync.c"), + Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSRtc.c"), + Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSSync.c"), Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSThread.c"), Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/OSTime.c"), Object(MatchingFor("GM8E01_00", "GM8E01_01"), "Dolphin/os/__ppc_eabi_init.cpp"),