summaryrefslogtreecommitdiff
path: root/util/alternatives/README
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-03-25 17:42:33 -0400
committerFreya Murphy <freya@freyacat.org>2025-03-25 17:42:33 -0400
commit9b26a288ae243b9497316e7c94dbc7914a09b14f (patch)
tree2f23696a2bf98fa3271bf4907f452b00ded70d27 /util/alternatives/README
parentconvert build system to zig (diff)
downloadcomus-9b26a288ae243b9497316e7c94dbc7914a09b14f.tar.gz
comus-9b26a288ae243b9497316e7c94dbc7914a09b14f.tar.bz2
comus-9b26a288ae243b9497316e7c94dbc7914a09b14f.zip
remove legacy bullshit
Diffstat (limited to 'util/alternatives/README')
-rw-r--r--util/alternatives/README31
1 files changed, 0 insertions, 31 deletions
diff --git a/util/alternatives/README b/util/alternatives/README
deleted file mode 100644
index ae4dfbe..0000000
--- a/util/alternatives/README
+++ /dev/null
@@ -1,31 +0,0 @@
-This directory contains "alternative" versions of some pieces of the system.
-
-Things included here:
-
- Make.mk
- This version of the Makefile fragment puts the utility programs
- in build/util instead of in the top-level directory.
-
- kmem.c
- A version of the memory allocator that works with blocks of memory
- that aren't exactly one page in length. During initialilzation, it
- just adds each memory region identified during the boot process by
- calls to the BIOS; as pages are requested, they are carved out of
- these large blocks. The freelist is ordered by starting block
- address, and allocation uses a first-fit strateby.
-
- The allocation function has this prototype:
-
- void *km_page_alloc( unsigned int count );
-
- This allows the allocation of multiple contiguous pages. As pages
- are freed, they are merged back into the freelist, and adjacent
- free pages are coalesced into single, larger blocks.
-
- lib.c
- This file pulls in all the individual .c files for the common
- library functions in the lib/ directory. It is intended as an
- alternative to having the libk.a archive file for the kernel;
- instead of linking against that library, the lib.o file can
- just be provided to the linker when the kernel is created,
- and all the common library functions will be available.