aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/lib.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-16 10:05:57 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-16 10:05:57 +0100
commit28baa78877ebda840603774d6a1e3e9da9546a6e (patch)
tree7f3e7943f2838769040a19258e95fa79b8c105bf /extras/mini-os/include/lib.h
parentf464d312c7b7185b7174434b61d00903949d3a76 (diff)
downloadxen-28baa78877ebda840603774d6a1e3e9da9546a6e.tar.gz
xen-28baa78877ebda840603774d6a1e3e9da9546a6e.tar.bz2
xen-28baa78877ebda840603774d6a1e3e9da9546a6e.zip
stubdom: sparse application's BSS by linking it separately first, put
markers at its beginning and end, and then link with mini-os. That permits to stick a bit more to upstream qemu. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/lib.h')
-rw-r--r--extras/mini-os/include/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/include/lib.h b/extras/mini-os/include/lib.h
index 016af66670..e5997d4574 100644
--- a/extras/mini-os/include/lib.h
+++ b/extras/mini-os/include/lib.h
@@ -187,6 +187,7 @@ extern struct file {
int alloc_fd(enum fd_type type);
void close_all_files(void);
extern struct thread *main_thread;
+void sparse(unsigned long data, size_t size);
#endif
#endif /* _LIB_H_ */