mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 00:04:59 +00:00
Convert from LADDR_from_68k to LAddrFromNative in gcr.c
This commit is contained in:
parent
059d750c75
commit
09bf2988be
@ -53,7 +53,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include "address.h" // for LOLOC
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR, LADDR_from_68k
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR, LAddrFromNative
|
||||
#include "commondefs.h" // for error
|
||||
#include "dspsubrsdefs.h" // for flip_cursor
|
||||
#include "emlglob.h"
|
||||
@ -93,7 +93,7 @@ struct interruptstate {
|
||||
void gcarrangementstack(void) {
|
||||
LispPTR tmpnextblock;
|
||||
PushCStack;
|
||||
tmpnextblock = LADDR_from_68k(CurrentStackPTR += DLWORDSPER_CELL);
|
||||
tmpnextblock = LAddrFromNative(CurrentStackPTR += DLWORDSPER_CELL);
|
||||
CURRENTFX->nextblock = LOLOC(tmpnextblock);
|
||||
if ((UNSIGNED)EndSTKP == (UNSIGNED)CurrentStackPTR) error("creating 0-long stack block.");
|
||||
GETWORD(CurrentStackPTR) = STK_FSB_WORD;
|
||||
@ -141,8 +141,8 @@ void disablegc1(int noerror) {
|
||||
gcinterruptstate = (struct interruptstate *)Addr68k_from_LADDR(*INTERRUPTSTATE_word);
|
||||
count = (128) * 256; /* This is test value. 128 is *MdsTTsize(\MDSTTsize) */
|
||||
for (i = 0; i < count; i++) {
|
||||
typeword = GETWORD((DLword *)Addr68k_from_LADDR(LADDR_from_68k(MDStypetbl) + i));
|
||||
GETWORD((DLword *)Addr68k_from_LADDR(LADDR_from_68k(MDStypetbl) + i)) = (typeword | TT_NOREF);
|
||||
typeword = GETWORD((DLword *)Addr68k_from_LADDR(LAddrFromNative(MDStypetbl) + i));
|
||||
GETWORD((DLword *)Addr68k_from_LADDR(LAddrFromNative(MDStypetbl) + i)) = (typeword | TT_NOREF);
|
||||
}
|
||||
*Reclaim_cnt_word = NIL;
|
||||
*ReclaimMin_word = NIL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user