From d65a73601271fe12fff89f1e559fba665b9a444e Mon Sep 17 00:00:00 2001 From: xamidev Date: Sun, 10 May 2026 19:33:29 +0200 Subject: [PATCH] freestanding headers --- docs/SOFTWARE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/SOFTWARE.md b/docs/SOFTWARE.md index c7e57a0..29c5370 100644 --- a/docs/SOFTWARE.md +++ b/docs/SOFTWARE.md @@ -6,6 +6,19 @@ Honestly I have no idea. Maybe you have too much free time. Keep in mind that the Pepper kernel is a personal project and it's full of bugs, inconsistencies, weird ways of doing things (and I don't care because it's my toy). Now if you still want to write something for this OS, thank you. Follow along. +## Headers available in userspace + +Of course, all of the freestanding headers are available: +- ``: macros for floating-point types +- ``: macros for integer types +- ``: macros for bitwise and logical operators +- ``: variadic function support +- ``: definitions for `size_t`, `ptrdiff_t`, and others +- ``: definitions for boolean types +- ``: definitions for `int_t` and `uint_t` types + +Also available is the `` header that gives access to low-level system call interface, notably the `syscallX` function family, X being the amount of arguments to use. + ## 1. Write the source code PepperOS is able to run programs written in x86 assembly, and C programs.