diff options
author | marcel <marcel@FreeBSD.org> | 2003-02-01 22:50:09 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-02-01 22:50:09 +0000 |
commit | 389e4c3a2a331c3d7194d0a3252e266dd42daa80 (patch) | |
tree | aeaa0efb42081601d640cc4f467d7de7fc56a1df /sys/ia64/conf | |
parent | 785fe397ccfcda0950251b71412f7936ad68b224 (diff) | |
download | FreeBSD-src-389e4c3a2a331c3d7194d0a3252e266dd42daa80.zip FreeBSD-src-389e4c3a2a331c3d7194d0a3252e266dd42daa80.tar.gz |
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)
Diffstat (limited to 'sys/ia64/conf')
-rw-r--r-- | sys/ia64/conf/SKI | 70 |
1 files changed, 28 insertions, 42 deletions
diff --git a/sys/ia64/conf/SKI b/sys/ia64/conf/SKI index 1b8f179..10443cd 100644 --- a/sys/ia64/conf/SKI +++ b/sys/ia64/conf/SKI @@ -25,59 +25,45 @@ machine ia64 cpu ITANIUM ident SKI -maxusers 32 - -#To statically compile in device wiring instead of /boot/device.hints -#hints "GENERIC.hints" +maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols -makeoptions NO_CPU_COPTFLAGS=true #Ignore any x86 CPUTYPE +makeoptions NO_MODULES=yes #Ignore any x86 CPUTYPE -options SKI #Support for HP simulator -options SCHED_4BSD #4BSD scheduler -options INET #InterNETworking -#options INET6 #IPv6 communications protocols -options FFS #Berkeley Fast Filesystem -options SOFTUPDATES #Enable FFS soft updates support -options MD_ROOT #MD is a potential root device -options PROCFS #Process filesystem (requires PSEUDOFS) -options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 -options SCSI_DELAY=2000 #Delay (in ms) before probing SCSI -options KTRACE #ktrace(1) syscall trace support -options SYSVSHM #SYSV-style shared memory -options SYSVMSG #SYSV-style message queues -options SYSVSEM #SYSV-style semaphores -options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions -options CONSPEED=115200 -options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to - -# Debugging for use in -current options DDB +options FFS #Berkeley Fast Filesystem +options INET #InterNETworking +options INET6 #IPv6 communications protocols options INVARIANTS options INVARIANT_SUPPORT -options WITNESS - options KTR -options KTR_ENTRIES=1024 +options KTRACE #ktrace(1) syscall trace support options KTR_COMPILE="(KTR_INTR|KTR_PROC)" -options KTR_MASK=0 options KTR_CPUMASK=0x3 -#options KTR_VERBOSE +options KTR_ENTRIES=1024 +options KTR_MASK=0 +options KTR_VERBOSE +options MD_ROOT #MD is a potential root device +options PROCFS #Process filesystem (requires PSEUDOFS) +options PSEUDOFS #Pseudo-filesystem framework +options SCHED_4BSD #4BSD scheduler +options SCSI_DELAY=500 #Delay (in ms) before probing SCSI +options SKI +options SOFTUPDATES #Enable FFS soft updates support +options SYSVMSG #SYSV-style message queues +options SYSVSEM #SYSV-style semaphores +options SYSVSHM #SYSV-style shared memory +options WITNESS +options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions -# Pseudo devices - the number indicates how many units to allocated. -device random # Entropy device -device loop # Network loopback +device acpi +device bpf # Berkeley packet filter device ether # Ethernet support -device sl # Kernel SLIP -device ppp # Kernel PPP -device tun # Packet tunnel. -device pty # Pseudo-ttys (telnet etc) +device loop # Network loopback device md # Memory "disks" -device gif # IPv6 and IPv4 tunneling -device faith # IPv6-to-IPv4 relaying/(translation) - -# The `bpf' device enables the Berkeley Packet Filter. -# Be aware of the administrative consequences of enabling this! -device bpf #Berkeley packet filter +device pci +device pty # Pseudo-ttys (telnet etc) +device random # Entropy device +device tun # Packet tunnel. |