From eeb1dfaf8fe7038afed1c4d6356fad99e6292adb Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 7 Apr 2003 00:45:06 +0000 Subject: [PATCH] Updated. committer: mfx 1049676306 +0000 --- src/stub/l_tos.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stub/l_tos.s b/src/stub/l_tos.s index 1c8d81c6..e5aeb79e 100644 --- a/src/stub/l_tos.s +++ b/src/stub/l_tos.s @@ -101,9 +101,9 @@ p_env equ $2c ; .l pointer to environment string ; GEMDOS/XBIOS trashes d0, d1, d2, a0, a1, a2 -; Ssystem(S_FLUSHCACHE, base, length) - inside the kernel this +; long Ssystem(S_FLUSHCACHE, base, length) - inside the kernel this ; is called `cpush(base, length)'. -; returns: d0.w should be either 0 or -32 (== ENOSYS == EINVFN) +; returns: d0.l should be either 0 or -32 (== ENOSYS == EINVFN) ; Available since FreeMiNT 1.15.1 (1999-04-13). ; ; Note that on a 68060 FreeMiNT just uses `cpusha bc' in all cases, @@ -128,7 +128,7 @@ macro(MINT_FLUSH_CACHE) macro(SUPEXEC_FLUSH_CACHE) pea \@super(pc) - move.w #38,-(sp) ; Supexec + move.w #$0026,-(sp) ; Supexec (38) trap #14 ; XBIOS addq.l #6,sp bra \@done @@ -179,7 +179,7 @@ macro(SUPEXEC_FLUSH_CACHE) macro(BOTH_FLUSH_CACHE) MINT_FLUSH_CACHE - tst.w d0 + tst.l d0 beq \@done SUPEXEC_FLUSH_CACHE \@done: