From 70d6cd4deeb87e54a58ad944f43e59a6b7191b36 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Sat, 26 Feb 2022 00:06:57 -0500 Subject: [PATCH] KA10: More fixes to get KS10 to build. --- PDP10/kx10_cpu.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/PDP10/kx10_cpu.c b/PDP10/kx10_cpu.c index 888b1d5..788fe73 100644 --- a/PDP10/kx10_cpu.c +++ b/PDP10/kx10_cpu.c @@ -2072,12 +2072,18 @@ int page_lookup(t_addr addr, int flag, t_addr *loc, int wr, int cur_context, int } } +#if KS_ITS + if (!QITS) { /* Do not do this on ITS */ +#endif /* Handle KI paging odditiy */ if (!uf && !t20_page && (page & 0740) == 0340) { /* Pages 340-377 via UBT */ page += 01000 - 0340; upmp = 1; } +#if KS_ITS + } +#endif /* Map the page */ if (uf || upmp) @@ -2594,12 +2600,18 @@ int page_lookup(t_addr addr, int flag, t_addr *loc, int wr, int cur_context, int return 0; } +#if KS_ITS + if (!QITS) { /* Do not do this on ITS */ +#endif /* Handle KI paging odditiy */ if (!uf && !t20_page && (page & 0740) == 0340) { /* Pages 340-377 via UBT */ page += 01000 - 0340; upmp = 1; } +#if KS_ITS + } +#endif /* Map the page */ if (uf || upmp)