From: ljsebald <ljs...@us...> - 2023-11-10 13:44:12
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 50d76ac96b4e44365b14bfcafb0b3c070f21f8d5 (commit) from 2be02ef1bc763f11f3551d0e336f17cd94124f03 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 50d76ac96b4e44365b14bfcafb0b3c070f21f8d5 Author: Paul Cercueil <pa...@cr...> Date: Fri Nov 10 13:26:08 2023 +0100 Fix built-in romdisks not mounting properly (#347) Fix kernel crash that happened when the init code was trying to execute fs_romdisk_mount_weak(). ----------------------------------------------------------------------- Summary of changes: kernel/romdisk/romdiskbase.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/romdisk/romdiskbase.c b/kernel/romdisk/romdiskbase.c index 41415d3..affd857 100644 --- a/kernel/romdisk/romdiskbase.c +++ b/kernel/romdisk/romdiskbase.c @@ -10,7 +10,9 @@ extern unsigned char romdisk[]; void *__kos_romdisk = romdisk; -int fs_romdisk_mount_weak(void) +static int do_fs_romdisk_mount(void) { return fs_romdisk_mount("/rd", __kos_romdisk, 0); } + +int (*fs_romdisk_mount_weak)(void) = do_fs_romdisk_mount; hooks/post-receive -- A pseudo Operating System for the Dreamcast. |