9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3004554a3a115044221ca01c06fcdd5c646df04a
parent 88ab3157d064761d1b4fc52d581091437f36a324
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date:   Wed, 21 Nov 2018 14:20:07 +0000

Sync amd64/rom.c to arm64/rom.c

Change-Id: I28f792c404051303c640d8324751926745b06d5c
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>

Diffstat:
March/arm64/rom.c | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/rom.c b/arch/arm64/rom.c @@ -1,7 +1,20 @@ +#include <string.h> + #include <rcode.h> +struct tree tree[] = { + {"/dev", FSDIR | FSCREATE | FSREAD}, + {"/dev/uart", FSDIR | FSREAD}, + {"/realms", FSDIR | FSREAD}, + {NULL} +}; + int main(int argc, char *argv[]) { - return 0; + memset(bss, 0, sizeof(struct bssmap)); + bss->fp = &(struct trapframe) {0}; + + initfs(tree); + return debug(); }