multicomp09: use new makeproc
authorAlan Cox <alan@linux.intel.com>
Sat, 8 Dec 2018 01:18:43 +0000 (01:18 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 8 Dec 2018 01:18:43 +0000 (01:18 +0000)
Kernel/platform-multicomp09/tricks.s

index c9a8aa8..1c0a561 100644 (file)
@@ -4,9 +4,10 @@
         .module tricks
 
        ;; imported
-        .globl _newproc
+        .globl _makeproc
         .globl _chksigs
         .globl _getproc
+       .globl _udata
         .globl _platform_monitor
         .globl _krn_mmu_map
         .globl _usr_mmu_map
@@ -165,8 +166,11 @@ _dofork:
         ;; _switchin will be expecting from our copy of the stack.
        puls    x
 
+       ldx     #_udata
+       pshs    x
         ldx    fork_proc_ptr   ; get forked process
-        jsr    _newproc        ; and set it up
+        jsr    _makeproc       ; and set it up
+       puls    x
 
        ;; any calls to map process will now map the childs memory