using the "autoboot rom", the pc532 will now actually reboot ... locore.s can

now stop mapping and rerun the monitor as if the machine just had power
applied.
This commit is contained in:
phil 1994-04-26 20:46:40 +00:00
parent fb4bff1785
commit fe9c815e20
2 changed files with 1 additions and 8 deletions

View File

@ -304,7 +304,6 @@ ENTRY(low_level_reboot)
addr xxxlow(pc), r0 /* jump to low memory */
andd ~KERNBASE, r0
movd r0, tos
lmr ptb0, _rebootPTD(pc) /* get the right map */
ret 0
xxxlow:
lmr mcr, 0 /* Turn off mapping. */

View File

@ -115,7 +115,6 @@ int maxmem = 0;
vm_offset_t KPTphys;
int IdlePTD;
int rebootPTD;
int start_page;
int _istack;
@ -217,11 +216,6 @@ _low_level_init ()
WR_ADR(int, p2 + ix*4, NS532_PAGE_SIZE * ix + 3);
}
/* the PTD for the reboot process */
rebootPTD = (int) avail_start;
avail_start += NS532_PAGE_SIZE;
bcopy ((char *)p0, (char *)rebootPTD, NS532_PAGE_SIZE);
/* Load the ptb0 register and start mapping. */
_mapped = 1;
@ -1095,7 +1089,7 @@ void reboot_cpu()
extern void low_level_reboot();
/* Point Low MEMORY to Kernel Memory! */
WR_ADR(int, PTD, RD_ADR(int,PTD+4*pdei(KERNBASE)));
PTD[0] = PTD[pdei(KERNBASE)];
low_level_reboot();
}