From ac250c318fcf13f173c51c03fca274a0a2956a86 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 8 Dec 2018 01:15:21 +0000 Subject: [PATCH] coco2cart: use makeproc --- Kernel/platform-coco2cart/tricks.s | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-coco2cart/tricks.s b/Kernel/platform-coco2cart/tricks.s index ab47a489..3e009221 100644 --- a/Kernel/platform-coco2cart/tricks.s +++ b/Kernel/platform-coco2cart/tricks.s @@ -5,7 +5,7 @@ .module tricks # imported - .globl _newproc + .globl _makeproc .globl _chksigs .globl _getproc .globl _platform_monitor @@ -18,6 +18,7 @@ .globl _nready .globl _inswap .globl _platform_idle + .globl _udata # exported .globl _platform_switchout @@ -189,8 +190,11 @@ _dofork: ; We are now in the kernel child context + ldx #_udata + pshs x ldx fork_proc_ptr - jsr _newproc + jsr _makeproc + puls x ; any calls to map process will now map the childs memory -- 2.34.1