mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-18 00:52:33 +00:00
Convert from LADDR_from_68k to LAddrFromNative in storage.c
This commit is contained in:
parent
4806d98270
commit
9eba057b94
@ -18,7 +18,7 @@
|
||||
/*****************************************************************/
|
||||
#include <stdio.h> // for printf
|
||||
#include "address.h" // for POINTER_PAGE
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR, LADDR_from_68k
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR, LAddrFromNative
|
||||
#include "car-cdrdefs.h" // for cdr, car, rplacd, rplaca
|
||||
#include "commondefs.h" // for error
|
||||
#include "conspagedefs.h" // for cons
|
||||
@ -314,12 +314,12 @@ LispPTR newpage(LispPTR base) {
|
||||
|
||||
/* compute virtual page of new FPtoVP table page */
|
||||
/* i.e., the vp that holds the next FPtoVP entry */
|
||||
vp_of_fp = (LADDR_from_68k(FPtoVP + nactive) >> 8);
|
||||
vp_of_fp = (LAddrFromNative(FPtoVP + nactive) >> 8);
|
||||
|
||||
/* compute file page where this entry has to be to ensure
|
||||
that FPtoVP is contiguous on the file */
|
||||
|
||||
fp_of_fptovp = InterfacePage->fptovpstart + (vp_of_fp - (LADDR_from_68k(FPtoVP) >> 8));
|
||||
fp_of_fptovp = InterfacePage->fptovpstart + (vp_of_fp - (LAddrFromNative(FPtoVP) >> 8));
|
||||
|
||||
/* debugging check: make sure FPtoVP is contiguous */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user