diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 13:33:37 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 13:33:37 +0000 |
commit | be33e2333ab84639e7e4277b5a9bf59a605ed870 (patch) | |
tree | 13eecb9faffefe28653d41552d105a8ebbe2c570 /extras/mini-os/kernel.c | |
parent | 9d220744e67413bc17df9fbfcebe33ad663207a6 (diff) | |
download | xen-be33e2333ab84639e7e4277b5a9bf59a605ed870.tar.gz xen-be33e2333ab84639e7e4277b5a9bf59a605ed870.tar.bz2 xen-be33e2333ab84639e7e4277b5a9bf59a605ed870.zip |
Add FS backend/frontend drivers (frontend in minios only).
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/kernel.c')
-rw-r--r-- | extras/mini-os/kernel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/mini-os/kernel.c b/extras/mini-os/kernel.c index 095f38cd6a..9d18b22e1b 100644 --- a/extras/mini-os/kernel.c +++ b/extras/mini-os/kernel.c @@ -38,6 +38,7 @@ #include <xenbus.h> #include <gnttab.h> #include <netfront.h> +#include <fs.h> #include <xen/features.h> #include <xen/version.h> @@ -85,6 +86,11 @@ static void netfront_thread(void *p) init_netfront(NULL, NULL, NULL); } +static void fs_thread(void *p) +{ + init_fs_frontend(); +} + /* This should be overridden by the application we are linked against. */ __attribute__((weak)) int app_main(start_info_t *si) { @@ -92,6 +98,7 @@ __attribute__((weak)) int app_main(start_info_t *si) create_thread("xenbus_tester", xenbus_tester, si); create_thread("periodic_thread", periodic_thread, si); create_thread("netfront", netfront_thread, si); + create_thread("fs-frontend", fs_thread, si); return 0; } |