added glibc and memaccess

This commit is contained in:
2026-04-08 21:55:15 +01:00
parent 6ded32ff2d
commit 9f8a7eb9d8
12 changed files with 57386 additions and 6916 deletions

View File

@@ -13,7 +13,7 @@
// | | (Distance 1 between address)
// [1, 2, 3. ....... n] -> virtual
#define HEAP_SIZE 10096
#define HEAP_SIZE 65536 // 64 KB heap
#define PHYS_BASE 0x80000000
#define VIRT_BASE 0xFFFFFFFF80000000
@@ -64,7 +64,7 @@ void * __capability malloc(size_t size) {
cap = cheri_bounds_set(cap, size);
// Hard-coded delta value
cap = add_delta(cap, 4);
cap = add_delta(cap, 10);
bump += size;