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 / cortex_store.c
| 1 | /* SPDX-License-Identifier: Apache-2.0 |
| 2 | * Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* cortex_store.c -- the canonical Omega Cortex store (CxStore) built |
| 18 | * freestanding inside AIENOS: no POSIX journal, no libc allocation. The |
| 19 | * source is vendored byte for byte from the omega.lock commit |
| 20 | * (third_party/omega/rx_cortex.c, checked by scripts/omega_lock_check.sh); |
| 21 | * this wrapper only sets the build switches so the vendored file stays |
| 22 | * identical to Omega's. The journal backend is svc/cortex_journal.c. */ |
| 23 | #define CX_NO_POSIX 1 |
| 24 | #define CX_CONFIG_H "cortex_config.h" |
| 25 | #include "../third_party/omega/rx_cortex.c" |