From: falcovorbis <fal...@us...> - 2024-08-10 05:26:46
|
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 cca9753dc0e3f58fca4a36d1d4ab0f1a89754b52 (commit) via 858e77a016364bab6d921fc118936552d5e97d27 (commit) from db242c8af3110d3ed31cea395aa20361d576396b (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 cca9753dc0e3f58fca4a36d1d4ab0f1a89754b52 Author: Andy Barajas <and...@gm...> Date: Fri Aug 9 21:29:25 2024 -0700 Remove g1ata mutex use in biosfont (#700) Removed mutex from biosfont because it causes an issue in DS bootloader as well as give the ability to use biofonts inside of an IRQ context commit 858e77a016364bab6d921fc118936552d5e97d27 Author: Andy Barajas <and...@gm...> Date: Fri Aug 9 20:48:21 2024 -0700 Fix -Wmaybe-uninitialize warning (#701) ----------------------------------------------------------------------- Summary of changes: examples/dreamcast/vmu/vmu_beep/beep.c | 2 +- kernel/arch/dreamcast/hardware/biosfont.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/dreamcast/vmu/vmu_beep/beep.c b/examples/dreamcast/vmu/vmu_beep/beep.c index 666eef77..75d74085 100644 --- a/examples/dreamcast/vmu/vmu_beep/beep.c +++ b/examples/dreamcast/vmu/vmu_beep/beep.c @@ -50,7 +50,7 @@ static void on_reset(uint8_t addr, uint32_t btns) { } int main(int argc, char *argv[]) { - maple_device_t *dev, *vmudev; + maple_device_t *dev, *vmudev = NULL; cont_state_t *state; point_t w; plx_font_t *fnt; diff --git a/kernel/arch/dreamcast/hardware/biosfont.c b/kernel/arch/dreamcast/hardware/biosfont.c index 328d278f..0792279a 100644 --- a/kernel/arch/dreamcast/hardware/biosfont.c +++ b/kernel/arch/dreamcast/hardware/biosfont.c @@ -14,7 +14,6 @@ #include <dc/syscalls.h> #include <kos/dbglog.h> -#include <kos/mutex.h> /* @@ -75,12 +74,7 @@ int bfont_set_32bit_mode(int on) { return rv; } -/* From cdrom.c */ -extern mutex_t _g1_ata_mutex; - int lock_bfont(void) { - if(mutex_lock(&_g1_ata_mutex) == -1) return -1; - /* Just make sure no outside system took the lock */ while(syscall_font_lock() != 0) thd_pass(); @@ -89,8 +83,6 @@ int lock_bfont(void) { } int unlock_bfont(void) { - if(mutex_unlock(&_g1_ata_mutex) == -1) return -1; - syscall_font_unlock(); return 0; hooks/post-receive -- A pseudo Operating System for the Dreamcast. |