From 6653ebe00f24958e7a221ef2510d6359b8a6e5be Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 9 Dec 2018 00:52:00 +0000 Subject: [PATCH] cromemco: tricks fixup --- Kernel/platform-cromemco/tricks.s | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-cromemco/tricks.s b/Kernel/platform-cromemco/tricks.s index 47bc2daf..065e35e2 100644 --- a/Kernel/platform-cromemco/tricks.s +++ b/Kernel/platform-cromemco/tricks.s @@ -27,7 +27,6 @@ .globl _udata .globl ldir_to_user - .globl ldir_from_user .globl ldir_far ; imported debug symbols @@ -135,10 +134,16 @@ not_swapped: push de + ; Trick - we don't overlay the udata proper with anything so we can + ; map common and ldir + ld a,#0x81 + out (0x40),a ld hl, #U_DATA_STASH ld de, #U_DATA ld bc, #U_DATA__TOTALSIZE - call ldir_to_user + ldir + ld a,#1 ; back to kernel + out (0x40),a pop de -- 2.34.1