summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/md_var.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-01 22:50:09 +0000
committermarcel <marcel@FreeBSD.org>2003-02-01 22:50:09 +0000
commit389e4c3a2a331c3d7194d0a3252e266dd42daa80 (patch)
treeaeaa0efb42081601d640cc4f467d7de7fc56a1df /sys/ia64/include/md_var.h
parent785fe397ccfcda0950251b71412f7936ad68b224 (diff)
downloadFreeBSD-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/include/md_var.h')
-rw-r--r--sys/ia64/include/md_var.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h
index 706294f..38d98de 100644
--- a/sys/ia64/include/md_var.h
+++ b/sys/ia64/include/md_var.h
@@ -53,7 +53,6 @@ struct ia64_fdesc {
void busdma_swi(void);
void cpu_halt(void);
void cpu_reset(void);
-int ia64_running_in_simulator(void);
int is_physical_memory(vm_offset_t addr);
void os_boot_rendez(void);
void os_mca(void);
OpenPOWER on IntegriCloud