commit 46a8768402960588017625417bc9451ed0d6ed57
parent ae0571eafb30eb9c08bec2a9105bc7b39521ab5d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 25 Oct 2020 21:25:37 +0100
doc: Add pending comments
Change-Id: Iac2ecfc0c4c593a4f307dfdadfdb471de34d1b91
Diffstat:
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/bits/arm64/arch/types.h b/include/bits/arm64/arch/types.h
@@ -1,3 +1,4 @@
+/* TODO: Move these bits to other place */
enum regidx {
X0,
X1,
@@ -44,7 +45,6 @@ struct context {
unsigned long long r[NR_REGS];
};
-
typedef int atomic_t;
typedef unsigned long mutex_t;
typedef unsigned long long pte_t;
diff --git a/include/libk.h b/include/libk.h
@@ -21,5 +21,6 @@ extern int dirtop9(Dir *, unsigned char *, int);
extern int dirstat(char *name, Dir *dir);
#endif
+/* external dependencies of the library */
extern int getch(void);
extern void putch(int c);
diff --git a/src/os9/arch/arm64/mmu.c b/src/os9/arch/arm64/mmu.c
@@ -321,6 +321,7 @@ immu(void)
if (TGRAN4(id) != 0 || PAR(id) < I1TB)
panic("unsupported mmu");
+ /* FIXME: Add Inner properties */
mair =
DEVICE(nGnRnE) << 56 |
DEVICE(nGnRE) << 48 |