aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_srv.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-27 18:26:36 -0700
committerMichael Bebenita <[email protected]>2010-09-07 18:41:07 -0700
commitf8ff013e3cc737b92b5a140dfd0ddcc5ab6773d9 (patch)
tree84daaf59d1eb899021e681927e1103cf08b91dd5 /src/rt/rust_srv.h
parentInitial support for a global crate metadata cache (diff)
downloadrust-f8ff013e3cc737b92b5a140dfd0ddcc5ab6773d9.tar.xz
rust-f8ff013e3cc737b92b5a140dfd0ddcc5ab6773d9.zip
Added a few utility classes, cleaned up the include order of .h files, and started to make the Rust kernel own domain message queues rather than the Rust domains themselves.
Diffstat (limited to 'src/rt/rust_srv.h')
-rw-r--r--src/rt/rust_srv.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rt/rust_srv.h b/src/rt/rust_srv.h
index e617c002..ab646ae6 100644
--- a/src/rt/rust_srv.h
+++ b/src/rt/rust_srv.h
@@ -1,17 +1,13 @@
-/*
- *
- */
-
#ifndef RUST_SRV_H
#define RUST_SRV_H
-#include "sync/spin_lock.h"
-#include "memory_region.h"
+#include "rust_internal.h"
class rust_srv {
public:
memory_region local_region;
memory_region synchronized_region;
+ rust_kernel *kernel;
virtual void log(char const *msg);
virtual void fatal(char const *expression,
char const *file,
@@ -28,7 +24,6 @@ public:
virtual void *realloc(void *, size_t);
rust_srv();
virtual ~rust_srv();
- virtual rust_srv *clone();
};
#endif /* RUST_SRV_H */