aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / kernel / svc / compat / README
| 1 | Kernel-build-only stand-ins for the hosted headers that |
| 2 | native/capability/aienos_capability.c, aienos_contain.c and |
| 3 | native/argus/bridge/argus_aegis_bridge.c include (pthread.h, stdio.h, |
| 4 | stdlib.h, time.h, string.h). They are put on the include path ONLY for the |
| 5 | freestanding kernel build (first entry of STAGE_CFLAGS in stage.mk); host tests use the real |
| 6 | libc and pthreads. Every name is redirected to a ck_compat_* function in |
| 7 | ../ck_compat.c, built on ck.h services: |
| 8 | malloc/calloc/free -> ck_alloc / ck_free |
| 9 | clock_gettime -> ck_time_us |
| 10 | fopen("/dev/urandom") + fread -> ck_entropy_fill (arch/rndr.c over |
| 11 | core/entropy.c): the CPU RNDR instruction (FEAT_RNG |
| 12 | checked, bounded retry, stuck test) or a refusal: |
| 13 | fread returns 0 and the capability office token |
| 14 | fails closed. There is no fallback source. |
| 15 | pthread_mutex_* -> single-core flag; contention means a bug (re-entry) |
| 16 | and panics instead of deadlocking. |
| 17 | The native/* sources are compiled unmodified. |