Date: Mon, 6 May 1996 13:13:28 -0700 (PDT) From: Peter Wemm <peter> To: smp Subject: CVS update: sys/i386/i386 Message-ID: <199605062013.NAA05160@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Date: Monday May 6, 1996 @ 13:13 Author: peter Update of /home/smp/sys/i386/i386 In directory freefall.freebsd.org:/tmp/cvs-serv4705/i386/i386 Modified Files: locore.s mpcore.s mplock.s pmap.c swtch.s Log Message: Round #1 of some cleanups I've been tinkering with for a while but never got around to finishing. Also made it compile and link again after the recent -current update. I'd bet money that this does not yet boot, I've not even tested it yet, this is just a checkpoint in case I fall asleep and Poul-Henning wants to have a go.. :-) Notable changes: - locore.s is now very close to -current, with only minor #ifdef SMP parts. - the APIC is no longer mapped Virtual == Physical, because this required tweaking of the PTD's and other nightmares. It now is dereferenced via a pointer (unsigned int *apic_base;) - the APIC register defines redone to cope with this. Now are offsets instead of absolute addresses. This means that the boot code needs to manually compensate when it's making a physical reference before paging is set up. It also means that _get_mplock cannot be used before paging is enabled. - pmap.c sets up the apic mapping in rather than locore. A lot of the other apic initialisation could be done in C too rather than mpcore.s/locore.s I resisted the temptation to hack out the serial_putc() stuff, as I've a feeling I'm going to need it... :-( I'll say it again: THIS HAS NOT EVEN BEEN TESTED! IT PROBABLY DOES NOT YET WORK.. :-) =================================================================== File: locore.s Status: Up-to-date Working revision: 1.18 Mon May 6 20:12:45 1996 Repository revision: 1.18 /home/smp/sys/i386/i386/locore.s,v Sticky Options: -ko Existing Tags: v960506 (revision: 1.1.1.3) v960421 (revision: 1.1.1.2) v960414 (revision: 1.1.1.2) v960406 (revision: 1.1.1.2) v960403 (revision: 1.1.1.2) CURRENT (branch: 1.1.1) current270396 (revision: 1.1.1.1) FBSD (branch: 1.1.1) =================================================================== File: mpcore.s Status: Up-to-date Working revision: 1.9 Mon May 6 20:12:47 1996 Repository revision: 1.9 /home/smp/sys/i386/i386/mpcore.s,v Existing Tags: No Tags Exist =================================================================== File: no file mplock.s Status: Needs Checkout Working revision: 1.8 Mon May 6 20:13:23 1996 Repository revision: 1.8 /home/smp/sys/i386/i386/mplock.s,v Existing Tags: No Tags Exist =================================================================== File: pmap.c Status: Up-to-date Working revision: 1.12 Mon May 6 20:13:06 1996 Repository revision: 1.12 /home/smp/sys/i386/i386/pmap.c,v Sticky Options: -ko Existing Tags: v960506 (revision: 1.1.1.4) v960421 (revision: 1.1.1.3) v960414 (revision: 1.1.1.3) v960406 (revision: 1.1.1.3) v960403 (revision: 1.1.1.2) CURRENT (branch: 1.1.1) current270396 (revision: 1.1.1.1) FBSD (branch: 1.1.1) =================================================================== File: swtch.s Status: Up-to-date Working revision: 1.15 Mon May 6 20:13:13 1996 Repository revision: 1.15 /home/smp/sys/i386/i386/swtch.s,v Sticky Options: -ko Existing Tags: v960506 (revision: 1.1.1.4) v960421 (revision: 1.1.1.3) v960414 (revision: 1.1.1.2) v960406 (revision: 1.1.1.1) v960403 (revision: 1.1.1.1) CURRENT (branch: 1.1.1) current270396 (revision: 1.1.1.1) FBSD (branch: 1.1.1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605062013.NAA05160>