aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/kernel.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-17 09:16:27 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-17 09:16:27 +0000
commit7d58e874105e17c7cd15c1734e66dd8ccb14d996 (patch)
tree1d3621da982485695d9fa4c0901971ef32a4ae20 /extras/mini-os/kernel.c
parentb38e0f65a82591aa44d5693208c248eda280c7dd (diff)
downloadxen-7d58e874105e17c7cd15c1734e66dd8ccb14d996.tar.gz
xen-7d58e874105e17c7cd15c1734e66dd8ccb14d996.tar.bz2
xen-7d58e874105e17c7cd15c1734e66dd8ccb14d996.zip
[MINIOS] Move initialisation of events (masking event channels)
earlier during the boot process. Otherwise 64bit guests would sometimes crash. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/kernel.c')
-rw-r--r--extras/mini-os/kernel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/mini-os/kernel.c b/extras/mini-os/kernel.c
index 72fc65ae1e..9b3c471fe7 100644
--- a/extras/mini-os/kernel.c
+++ b/extras/mini-os/kernel.c
@@ -116,6 +116,9 @@ void start_kernel(start_info_t *si)
printk(" cmd_line: %s\n",
si->cmd_line ? (const char *)si->cmd_line : "NULL");
+ /* Set up events. */
+ init_events();
+
arch_print_info();
setup_xen_features();
@@ -123,9 +126,6 @@ void start_kernel(start_info_t *si)
/* Init memory management. */
init_mm();
- /* Set up events. */
- init_events();
-
/* Init time and timers. */
init_time();