~kris/9p

9hist

e95c42c072124eda07ce686a4d48789eb13f00d0 — David du Colombier 32 years ago 4a2a242
Plan 9 from Bell Labs 1994-03-30
2 files changed, 5 insertions(+), 2 deletions(-)

M carrera/l.s
M carrera/main.c
M carrera/l.s => carrera/l.s +3 -0
@@ 782,6 782,9 @@ ccache:
	BGTZ	R9, ccache
	MOVW	R10, M(STATUS)
	WAIT
	MOVW	M(CONFIG), R1
	OR	$((1<<4)|(1<<5)), R1
	MOVW	R1, M(CONFIG)
	RET
	
TEXT	getcallerpc(SB), $0

M carrera/main.c => carrera/main.c +2 -2
@@ 143,7 143,7 @@ machinit(void)
	clrfpintr();

	/* scrub cache */
	cleancache();
	((void(*)(void))((ulong)cleancache|0xA0000000))();

	memset(m, 0, sizeof(Mach));



@@ 209,7 209,7 @@ ioinit(int mapeisa)
	puttlbx(2, Intctlvirt, intphys, isamphys, PGSZ1M);

	/* Enable all device interrupts */
	IO(ushort, Intenareg) = 0xffff;
	IO(ushort, Intenareg) = 0xfff7;

	/* Map the rom back into Promvirt to allow NMI handling */
	promphys = IOPTE|PPN(Promphys);