diff options
author | kaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk> | 2003-01-03 18:24:03 +0000 |
---|---|---|
committer | kaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk> | 2003-01-03 18:24:03 +0000 |
commit | 66519329ac71070a73949e1d795422e55e66dd00 (patch) | |
tree | 561f690c7567887b961db089bd444c6d43d34a79 /xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c | |
parent | e1c642ea89639d8eff4cafd611542bb7bbb084ae (diff) | |
download | xen-66519329ac71070a73949e1d795422e55e66dd00.tar.gz xen-66519329ac71070a73949e1d795422e55e66dd00.tar.bz2 xen-66519329ac71070a73949e1d795422e55e66dd00.zip |
bitkeeper revision 1.13 (3e15d543UbLg8zdxnspCHQplKUlnzQ)
Many files:
Clean up page-table update interface. BIG MODIFICATIONS HERE.
mremap.c, swapfile.c, memory.c, exec.c:
new file
Diffstat (limited to 'xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c')
-rw-r--r-- | xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c b/xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c index 3d4325f0e9..6a98b88883 100644 --- a/xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c +++ b/xenolinux-2.4.16-sparse/arch/xeno/kernel/setup.c @@ -145,14 +145,20 @@ void __init setup_arch(char **cmdline_p) unsigned long bootmap_size; char str[256]; int strcnt; - void hypervisor_callback(void); - void failsafe_callback(void); + extern void hypervisor_callback(void); + extern void failsafe_callback(void); + + extern unsigned long cpu0_pte_quicklist[]; + extern unsigned long cpu0_pgd_quicklist[]; HYPERVISOR_shared_info->event_address = (unsigned long)hypervisor_callback; HYPERVISOR_shared_info->failsafe_address = (unsigned long)failsafe_callback; + boot_cpu_data.pgd_quick = cpu0_pgd_quicklist; + boot_cpu_data.pte_quick = cpu0_pte_quicklist; + ROOT_DEV = MKDEV(RAMDISK_MAJOR,0); memset(&drive_info, 0, sizeof(drive_info)); memset(&screen_info, 0, sizeof(screen_info)); |