Date: Sat, 1 Feb 2003 14:50:09 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ia64 Makefile.inc src/sys/boot/ia64/libski Makefile acpi_stub.c bootinfo.c efi_stub.c elf_freebsd.c libski.h pal_stub.s sal_stub.c ssc.c src/sys/conf files.ia64 src/sys/ia64/conf SKI src/sys/ia64/ia64 autoconf.c efi.c machdep.c ... Message-ID: <200302012250.h11Mo9C2057360@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/02/01 14:50:09 PST Modified files: sys/boot/ia64 Makefile.inc sys/boot/ia64/libski Makefile bootinfo.c elf_freebsd.c libski.h ssc.c sys/conf files.ia64 sys/ia64/conf SKI sys/ia64/ia64 autoconf.c efi.c machdep.c mca.c pal.s pmap.c sal.c ssc.c sscdisk.c sys/ia64/include md_var.h sal.h Added files: sys/boot/ia64/libski acpi_stub.c efi_stub.c pal_stub.s sal_stub.c Removed files: sys/ia64/ia64 pal_stub.s ski.c Log: Remove special casing for running in the simulator from the kernel and instead add platform, firmware and EFI stubs to the loader. The net effect of this change is that besides a special console and disk driver, the kernel has no knowledge of the simulator. This has the following advantages: o Simulator support is much harder to break, o It's easier to make use of more feature complete simulators. This would only need a change in the simulator specific loader, o Running SMP kernels within the simulator. Note that ski at this time does not simulate IPIs, so there's no way to start APs. The platform, firmware and EFI stubs describe the following hardware: o 4 CPU Itanium, o 128 MB RAM within the 4GB address space, o 64 MB RAM above the 4GB address space. NOTE: The stubs in the skiloader describe a machine that should in parts be defined by the simulator. Things like processor interrupt block and AP wakeup vector cannot be choosen at random because they require interpretation by the simulator. Currently the simulator is ignorant of this. This change introduces an unofficial SSC call SSC_SAL_SET_VECTORS which is ignored by the simulator. Tested with: ski (version 0.943 for linux) Revision Changes Path 1.2 +1 -1 src/sys/boot/ia64/Makefile.inc 1.9 +1 -0 src/sys/boot/ia64/libski/Makefile 1.1 +193 -0 src/sys/boot/ia64/libski/acpi_stub.c (new) 1.7 +2 -24 src/sys/boot/ia64/libski/bootinfo.c 1.1 +267 -0 src/sys/boot/ia64/libski/efi_stub.c (new) 1.7 +3 -1 src/sys/boot/ia64/libski/elf_freebsd.c 1.4 +2 -1 src/sys/boot/ia64/libski/libski.h 1.1 +65 -0 src/sys/boot/ia64/libski/pal_stub.s (new) 1.1 +117 -0 src/sys/boot/ia64/libski/sal_stub.c (new) 1.3 +11 -1 src/sys/boot/ia64/libski/ssc.c 1.47 +0 -2 src/sys/conf/files.ia64 1.11 +28 -42 src/sys/ia64/conf/SKI 1.16 +1 -2 src/sys/ia64/ia64/autoconf.c 1.4 +16 -46 src/sys/ia64/ia64/efi.c 1.124 +7 -60 src/sys/ia64/ia64/machdep.c 1.7 +8 -7 src/sys/ia64/ia64/mca.c 1.7 +2 -15 src/sys/ia64/ia64/pal.s 1.3 +0 -66 src/sys/ia64/ia64/pal_stub.s (dead) 1.91 +1 -3 src/sys/ia64/ia64/pmap.c 1.12 +1 -1 src/sys/ia64/ia64/sal.c 1.5 +0 -163 src/sys/ia64/ia64/ski.c (dead) 1.13 +0 -5 src/sys/ia64/ia64/ssc.c 1.21 +0 -3 src/sys/ia64/ia64/sscdisk.c 1.11 +0 -1 src/sys/ia64/include/md_var.h 1.5 +1 -0 src/sys/ia64/include/sal.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302012250.h11Mo9C2057360>