diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-11 13:47:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-11 13:47:29 +0200 |
commit | bfdb3be16e5a20eebc97b3ca613d9a4da4465533 (patch) | |
tree | c353e3ad19017c8f5cdb330d6363ca2845cb11c4 /xen/xen.c | |
parent | ec91b8ae6735a3f2977dc886ea63ff28e1aeef41 (diff) | |
parent | e1f856119dae48fcc1b649521ca45e4bdaa80ea9 (diff) |
Merge branch 'master' into master-gdb_stubs
Conflicts:
i386/i386at/com.c
Diffstat (limited to 'xen/xen.c')
-rw-r--r-- | xen/xen.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 Samuel Thibault <samuel.thibault@ens-lyon.org> + * Copyright (C) 2007-2011 Samuel Thibault <samuel.thibault@ens-lyon.org> * * This program is free software ; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,13 +46,17 @@ void hyp_init(void) { hyp_grant_init(); hyp_store_init(); - /* these depend on the above */ - hyp_block_init(); - hyp_net_init(); evtchn_port_t port = hyp_event_channel_bind_virq(VIRQ_DEBUG, 0); hyp_evt_handler(port, hyp_debug, 0, SPL7); } +void hyp_dev_init(void) +{ + /* these depend on hyp_init() and working threads */ + hyp_block_init(); + hyp_net_init(); +} + void _hyp_halt(void) { hyp_halt(); |