From 656e633bc8e76559ee38bbed2b68d0646cfd9550 Mon Sep 17 00:00:00 2001 From: deadwood Date: Sat, 27 Sep 2025 21:03:42 +0200 Subject: [PATCH] Adjust pc-i386 debug code to changes in exec/debug --- arch/i386-pc/exec/{debug.c => debug_internal.c} | 10 ++-------- arch/i386-pc/exec/mmakefile.src | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) rename arch/i386-pc/exec/{debug.c => debug_internal.c} (99%) diff --git a/arch/i386-pc/exec/debug.c b/arch/i386-pc/exec/debug_internal.c similarity index 99% rename from arch/i386-pc/exec/debug.c rename to arch/i386-pc/exec/debug_internal.c index 37c96f2b1f..ba2416f265 100644 --- a/arch/i386-pc/exec/debug.c +++ b/arch/i386-pc/exec/debug_internal.c @@ -36,12 +36,8 @@ int get_irq_list(char *buf); /****************************************************************************************/ -AROS_LH1(void, Debug, - AROS_LHA(ULONG, flags, D0), - struct ExecBase *, SysBase, 19, Exec) +void InternalDebug(void *stack) { - AROS_LIBFUNC_INIT - char key; /* KeyCode -> ASCII conversion table */ static char transl[] = @@ -384,9 +380,7 @@ AROS_LH1(void, Debug, } while(strcmp(comm, "QT") != 0 || strcmp(dat, "00000000") != 0); kprintf("Quitting SAD...\n"); - - AROS_LIBFUNC_EXIT -} /* Debug */ +} /****************************************************************************************/ diff --git a/arch/i386-pc/exec/mmakefile.src b/arch/i386-pc/exec/mmakefile.src index 4892f425c0..9d85a9d616 100644 --- a/arch/i386-pc/exec/mmakefile.src +++ b/arch/i386-pc/exec/mmakefile.src @@ -17,7 +17,7 @@ PRIV_EXEC_INCLUDES = \ $(TARGET_KERNEL_INCLUDES) \ -I$(SRCDIR)/rom/kernel -CFILES := cachecleare debug_init debug memoryrawio +CFILES := cachecleare debug_init debug_internal memoryrawio AFILES := cache userstate #MM kernel-exec-pc-i386 : kernel-kernel-includes kernel-exec-includes includes-asm_h