summaryrefslogtreecommitdiff
path: root/run/common.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2021-01-25 23:23:42 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2021-01-25 23:23:42 +0100
commit67bfeba1035dedf98d67cb00ea89e550de673aa4 (patch)
tree547928f5efd4098f73f045e914dc7c38ca10e330 /run/common.hpp
parent3cb35ec664734cfe04bf788b3a9c11402fd0f878 (diff)
downloadopenwar-67bfeba1035dedf98d67cb00ea89e550de673aa4.tar.gz
openwar-67bfeba1035dedf98d67cb00ea89e550de673aa4.tar.bz2
openwar-67bfeba1035dedf98d67cb00ea89e550de673aa4.zip
Adds runner and 32-bit-runner to start implementing software interrupts.
Diffstat (limited to 'run/common.hpp')
-rw-r--r--run/common.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/run/common.hpp b/run/common.hpp
new file mode 100644
index 0000000..becd0c9
--- /dev/null
+++ b/run/common.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <string>
+
+const std::string socket_name = "/tmp/openle.socket";
+
+struct __attribute__((packed, aligned(4))) BinaryLoadMessage {
+ uint32_t binary_size;
+ uint32_t base_address;
+ uint32_t eip;
+};