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 / x86 / bench_x86.h
| 1 | /* bench_x86.h -- GPU bench console declarations (kernel-internal). */ |
| 2 | #ifndef AIENOS_CK_BENCH_X86_H |
| 3 | #define AIENOS_CK_BENCH_X86_H |
| 4 | #include <stdint.h> |
| 5 | /* Init: store GPU BAR pointers. Pass NULL when no GPU present (QEMU). */ |
| 6 | void ck_x86_bench_init(volatile uint8_t *gpu_cfg, volatile uint32_t *gpu_bar5, |
| 7 | volatile uint32_t *gpu_bar0); |
| 8 | /* Step: poll for bench requests. Called from hold_step. */ |
| 9 | void ck_x86_bench_step(uint64_t tsc_hz); |
| 10 | #endif |