summaryrefslogtreecommitdiff
path: root/hurd/startup.h
diff options
context:
space:
mode:
authormarcus <marcus>2005-01-27 04:11:50 +0000
committermarcus <marcus>2005-01-27 04:11:50 +0000
commit371e4e76b2e9ef93fbe32340c90cf64fdad3f83c (patch)
tree5cf490ecda620ecdbf8875af1ef204ad3fcb8b4a /hurd/startup.h
parent262b31a3acf72a5c58ad6506422588238ee646dc (diff)
2005-01-27 Marcus Brinkmann <marcus@gnu.org>
* startup.h (HURD_STARTUP_FLAG_SECURE): New macro. (struct hurd_startup_data): New member FLAGS.
Diffstat (limited to 'hurd/startup.h')
-rw-r--r--hurd/startup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hurd/startup.h b/hurd/startup.h
index 675b03f..20f0ffc 100644
--- a/hurd/startup.h
+++ b/hurd/startup.h
@@ -67,6 +67,9 @@ struct hurd_startup_map
};
+/* Enable secure mode. */
+#define HURD_STARTUP_FLAG_SECURE (1 << 0)
+
/* The actual startup data. A pointer to this data will be passed on
the stack to the startup code (without a return address), and to
the main program (with a return address, i.e. normal calling
@@ -78,6 +81,9 @@ struct hurd_startup_data
unsigned short version_major;
unsigned short version_minor;
+ /* Startup flags. */
+ l4_word_t flags;
+
/* The UTCB area of this task. */
l4_fpage_t utcb_area;