diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-13 16:29:03 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-13 16:29:03 -0800 |
commit | 5cd583648dfcb1e36a0054efc910435293d216e3 (patch) | |
tree | 03ce1cb0cf3dc4de906867133e19285091a8962c /pk | |
parent | 85c6c88804ce15b8ec8b53894e69984be90b11b0 (diff) | |
download | pk-5cd583648dfcb1e36a0054efc910435293d216e3.zip pk-5cd583648dfcb1e36a0054efc910435293d216e3.tar.gz pk-5cd583648dfcb1e36a0054efc910435293d216e3.tar.bz2 |
Speed up glibc init
Diffstat (limited to 'pk')
-rw-r--r-- | pk/elf.h | 1 | ||||
-rw-r--r-- | pk/init.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,7 @@ #define AT_PHNUM 5 #define AT_PAGESZ 6 #define AT_ENTRY 9 +#define AT_SECURE 23 typedef struct { uint8_t e_ident[16]; @@ -79,6 +79,7 @@ static void user_init() {AT_PHENT, current.phent}, {AT_PHDR, current.phdr}, {AT_PAGESZ, RISCV_PGSIZE}, + {AT_SECURE, 0}, {AT_NULL, 0} }; |