diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-02-07 03:18:50 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-02-07 03:18:50 +0100 |
commit | aaf803372bd4b30b97a2039e4b1b36b07c0a7250 (patch) | |
tree | 55e7c21adb37f514c2d888f5d3141659eea67ced /xen/xen.h | |
parent | d683da41fcfefcc8ba63b1fa1ab8af5b3078183f (diff) | |
download | gnumach-aaf803372bd4b30b97a2039e4b1b36b07c0a7250.tar.gz gnumach-aaf803372bd4b30b97a2039e4b1b36b07c0a7250.tar.bz2 gnumach-aaf803372bd4b30b97a2039e4b1b36b07c0a7250.zip |
Defer Xen device initialization to device_service_create
* device/device_init.c (device_service_create) [MACH_HYP]: Call
hyp_dev_init.
* xen/xen.c (hyp_init): Do not call hyp_block_init and hyp_net_init, now
called in ...
(hyp_dev_init): New function.
* xen/xen.h (hyp_dev_init): New declaration.
Diffstat (limited to 'xen/xen.h')
-rw-r--r-- | xen/xen.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Samuel Thibault <samuel.thibault@ens-lyon.org> + * Copyright (C) 2006-2010, 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 @@ -20,6 +20,7 @@ #define XEN_XEN_H void hyp_init(void); +void hyp_dev_init(void); void hyp_invalidate_pte(pt_entry_t *pte); void hyp_idle(void); void hyp_p2m_init(void); |