summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSupercip971 <supercyp971@gmail.com>2022-04-01 02:15:22 +0000
committerSupercip971 <supercyp971@gmail.com>2022-04-01 02:15:22 +0000
commitc088edee47a99f0f45c63e750c09c05bfcca1d85 (patch)
tree5b76cf1ee78541aafb339dda01568dfda6959fd7
parent57f01ec29bb84089aad08294b4b136529dbb5da8 (diff)
make the kernel great again (not a c++ rewrite)next-brutal
-rw-r--r--.github/workflows/coverage.yml2
-rw-r--r--.github/workflows/darwin.yml2
-rw-r--r--.github/workflows/ubuntu.yml2
-rw-r--r--.gitignore2
-rwxr-xr-xbruwutal.sh (renamed from brutal.sh)0
-rw-r--r--build/toolchain/gnu/build.mk4
-rw-r--r--build/toolchain/llvm/build.mk4
-rw-r--r--compile_flags.txt2
-rw-r--r--license2
-rw-r--r--makefile2
-rw-r--r--meta/building.md10
-rw-r--r--meta/credits.md2
-rw-r--r--meta/doxyfile4
-rw-r--r--meta/introduction.md2
-rw-r--r--meta/roadmap.md2
-rw-r--r--meta/scheduling.md2
-rw-r--r--meta/shared/icon-small.pngbin3853 -> 30110 bytes
-rw-r--r--meta/shared/icon-tiny.pngbin850 -> 30110 bytes
-rw-r--r--meta/shared/icon.pngbin7733 -> 30110 bytes
-rw-r--r--meta/shared/logo.pngbin7720 -> 57463 bytes
-rw-r--r--meta/shared/ugly-logo.pngbin0 -> 7720 bytes
-rw-r--r--readme.md38
-rw-r--r--sources/apps/about/main.c10
-rw-r--r--sources/apps/bench/bench.h4
-rw-r--r--sources/apps/bench/benchs/path.c8
-rw-r--r--sources/apps/bench/benchs/rect.c2
-rw-r--r--sources/apps/bench/benchs/text.c2
-rw-r--r--sources/apps/bench/main.c10
-rw-r--r--sources/apps/demo/main.c6
-rw-r--r--sources/apps/files/main.c4
-rw-r--r--sources/apps/panel/main.c4
-rw-r--r--sources/build/host/build.mk8
-rw-r--r--sources/build/kernel/build.mk28
-rw-r--r--sources/build/loader/loader.mk32
-rwxr-xr-xsources/build/scripts/manifest-builder.py2
-rw-r--r--sources/build/target/build.mk18
-rw-r--r--sources/kernel/arch.h2
-rw-r--r--sources/kernel/channel.c4
-rw-r--r--sources/kernel/channel.h2
-rw-r--r--sources/kernel/cpu.c2
-rw-r--r--sources/kernel/cpu.h2
-rw-r--r--sources/kernel/domain.c4
-rw-r--r--sources/kernel/event.c6
-rw-r--r--sources/kernel/init.c4
-rw-r--r--sources/kernel/kernel.c4
-rw-r--r--sources/kernel/memory.c4
-rw-r--r--sources/kernel/memory.h4
-rw-r--r--sources/kernel/mmap.h2
-rw-r--r--sources/kernel/object.c2
-rw-r--r--sources/kernel/object.h4
-rw-r--r--sources/kernel/pmm.c8
-rw-r--r--sources/kernel/pmm.h2
-rw-r--r--sources/kernel/riscv64/asm.h2
-rw-r--r--sources/kernel/riscv64/boot.c6
-rw-r--r--sources/kernel/riscv64/context.c4
-rw-r--r--sources/kernel/riscv64/context.h2
-rw-r--r--sources/kernel/riscv64/cpu.c2
-rw-r--r--sources/kernel/riscv64/heap.c2
-rw-r--r--sources/kernel/riscv64/interrupts.c4
-rw-r--r--sources/kernel/riscv64/interrupts.h2
-rw-r--r--sources/kernel/riscv64/sifive_uart.c2
-rw-r--r--sources/kernel/riscv64/uart8250.c4
-rw-r--r--sources/kernel/riscv64/vmm.c4
-rw-r--r--sources/kernel/sched.c4
-rw-r--r--sources/kernel/space.c4
-rw-r--r--sources/kernel/syscalls.c2
-rw-r--r--sources/kernel/task.c4
-rw-r--r--sources/kernel/task.h6
-rw-r--r--sources/kernel/tasking.c2
-rw-r--r--sources/kernel/x86_64/apic.c4
-rw-r--r--sources/kernel/x86_64/asm.h2
-rw-r--r--sources/kernel/x86_64/boot.c2
-rw-r--r--sources/kernel/x86_64/cmos.c2
-rw-r--r--sources/kernel/x86_64/cmos.h2
-rw-r--r--sources/kernel/x86_64/com.h2
-rw-r--r--sources/kernel/x86_64/context.c4
-rw-r--r--sources/kernel/x86_64/cpu.c2
-rw-r--r--sources/kernel/x86_64/cpuid.c2
-rw-r--r--sources/kernel/x86_64/cpuid.h2
-rw-r--r--sources/kernel/x86_64/gdt.c2
-rw-r--r--sources/kernel/x86_64/gdt.h2
-rw-r--r--sources/kernel/x86_64/heap.c4
-rw-r--r--sources/kernel/x86_64/hpet.c6
-rw-r--r--sources/kernel/x86_64/idt.c2
-rw-r--r--sources/kernel/x86_64/idt.h2
-rw-r--r--sources/kernel/x86_64/interrupts.c8
-rw-r--r--sources/kernel/x86_64/interrupts.h2
-rw-r--r--sources/kernel/x86_64/paging.h2
-rw-r--r--sources/kernel/x86_64/simd.c2
-rw-r--r--sources/kernel/x86_64/simd.h2
-rw-r--r--sources/kernel/x86_64/smp.c4
-rw-r--r--sources/kernel/x86_64/syscall.c2
-rw-r--r--sources/kernel/x86_64/syscall.h2
-rw-r--r--sources/kernel/x86_64/vmm.c4
-rw-r--r--sources/libs/bal/abi/helpers.c2
-rw-r--r--sources/libs/bal/abi/types.h4
-rw-r--r--sources/libs/bal/abi/wrappers.c2
-rw-r--r--sources/libs/bal/boot/handover.c4
-rw-r--r--sources/libs/bal/boot/handover.h2
-rw-r--r--sources/libs/bal/hw/fb.h2
-rw-r--r--sources/libs/bal/hw/io.c4
-rw-r--r--sources/libs/bal/hw/io.h2
-rw-r--r--sources/libs/bal/hw/mem.c4
-rw-r--r--sources/libs/bal/hw/mem.h4
-rw-r--r--sources/libs/bal/task/exec.c2
-rw-r--r--sources/libs/brutal/alloc.h8
-rw-r--r--sources/libs/brutal/base.h18
-rw-r--r--sources/libs/brutal/debug.h7
-rw-r--r--sources/libs/brutal/ds.h10
-rw-r--r--sources/libs/brutal/fibers.h5
-rw-r--r--sources/libs/brutal/gfx.h12
-rw-r--r--sources/libs/brutal/hash.h5
-rw-r--r--sources/libs/brutal/input.h6
-rw-r--r--sources/libs/brutal/io.h10
-rw-r--r--sources/libs/brutal/math.h11
-rw-r--r--sources/libs/brutal/mem.h8
-rw-r--r--sources/libs/brutal/parse.h7
-rw-r--r--sources/libs/brutal/sync.h7
-rw-r--r--sources/libs/brutal/task.h5
-rw-r--r--sources/libs/brutal/text.h15
-rw-r--r--sources/libs/brutal/text/rune.h6
-rw-r--r--sources/libs/brutal/time.h7
-rw-r--r--sources/libs/brutal/ui.h22
-rw-r--r--sources/libs/brutal/ui/event.c1
-rw-r--r--sources/libs/bruwutal/alloc.h8
-rw-r--r--sources/libs/bruwutal/alloc/base.c (renamed from sources/libs/brutal/alloc/base.c)4
-rw-r--r--sources/libs/bruwutal/alloc/base.h (renamed from sources/libs/brutal/alloc/base.h)10
-rw-r--r--sources/libs/bruwutal/alloc/global.c (renamed from sources/libs/brutal/alloc/global.c)2
-rw-r--r--sources/libs/bruwutal/alloc/global.h (renamed from sources/libs/brutal/alloc/global.h)2
-rw-r--r--sources/libs/bruwutal/alloc/heap.c (renamed from sources/libs/brutal/alloc/heap.c)4
-rw-r--r--sources/libs/bruwutal/alloc/heap.h (renamed from sources/libs/brutal/alloc/heap.h)2
-rw-r--r--sources/libs/bruwutal/alloc/pool.c (renamed from sources/libs/brutal/alloc/pool.c)4
-rw-r--r--sources/libs/bruwutal/alloc/pool.h (renamed from sources/libs/brutal/alloc/pool.h)2
-rw-r--r--sources/libs/bruwutal/base.h18
-rw-r--r--sources/libs/bruwutal/base/any.h (renamed from sources/libs/brutal/base/any.h)12
-rw-r--r--sources/libs/bruwutal/base/attributes.h (renamed from sources/libs/brutal/base/attributes.h)0
-rw-r--r--sources/libs/bruwutal/base/banned.h (renamed from sources/libs/brutal/base/banned.h)0
-rw-r--r--sources/libs/bruwutal/base/cast.h (renamed from sources/libs/brutal/base/cast.h)0
-rw-r--r--sources/libs/bruwutal/base/count.h (renamed from sources/libs/brutal/base/count.h)0
-rw-r--r--sources/libs/bruwutal/base/defs.h (renamed from sources/libs/brutal/base/defs.h)4
-rw-r--r--sources/libs/bruwutal/base/endian.h (renamed from sources/libs/brutal/base/endian.h)6
-rw-r--r--sources/libs/bruwutal/base/error.h (renamed from sources/libs/brutal/base/error.h)4
-rw-r--r--sources/libs/bruwutal/base/iter.h (renamed from sources/libs/brutal/base/iter.h)0
-rw-r--r--sources/libs/bruwutal/base/keywords.h (renamed from sources/libs/brutal/base/keywords.h)0
-rw-r--r--sources/libs/bruwutal/base/macros.h (renamed from sources/libs/brutal/base/macros.h)0
-rw-r--r--sources/libs/bruwutal/base/map.h (renamed from sources/libs/brutal/base/map.h)0
-rw-r--r--sources/libs/bruwutal/base/range.h (renamed from sources/libs/brutal/base/range.h)6
-rw-r--r--sources/libs/bruwutal/base/result.h (renamed from sources/libs/brutal/base/result.h)4
-rw-r--r--sources/libs/bruwutal/base/slice.h (renamed from sources/libs/brutal/base/slice.h)2
-rw-r--r--sources/libs/bruwutal/base/std.h (renamed from sources/libs/brutal/base/std.h)0
-rw-r--r--sources/libs/bruwutal/base/types.h (renamed from sources/libs/brutal/base/types.h)0
-rw-r--r--sources/libs/bruwutal/base/vaopt.h (renamed from sources/libs/brutal/base/vaopt.h)0
-rw-r--r--sources/libs/bruwutal/codec/deflate/constants.h (renamed from sources/libs/brutal/codec/deflate/constants.h)0
-rw-r--r--sources/libs/bruwutal/codec/deflate/deflate.c (renamed from sources/libs/brutal/codec/deflate/deflate.c)8
-rw-r--r--sources/libs/bruwutal/codec/deflate/deflate.h (renamed from sources/libs/brutal/codec/deflate/deflate.h)2
-rw-r--r--sources/libs/bruwutal/codec/deflate/errors.h (renamed from sources/libs/brutal/codec/deflate/errors.h)0
-rw-r--r--sources/libs/bruwutal/codec/deflate/huff.h (renamed from sources/libs/brutal/codec/deflate/huff.h)2
-rw-r--r--sources/libs/bruwutal/codec/deflate/inflate.c (renamed from sources/libs/brutal/codec/deflate/inflate.c)18
-rw-r--r--sources/libs/bruwutal/codec/deflate/inflate.h (renamed from sources/libs/brutal/codec/deflate/inflate.h)2
-rw-r--r--sources/libs/bruwutal/codec/errors.h (renamed from sources/libs/brutal/codec/errors.h)0
-rw-r--r--sources/libs/bruwutal/codec/gzip/gzip.c (renamed from sources/libs/brutal/codec/gzip/gzip.c)16
-rw-r--r--sources/libs/bruwutal/codec/gzip/gzip.h (renamed from sources/libs/brutal/codec/gzip/gzip.h)2
-rw-r--r--sources/libs/bruwutal/codec/ssfn2/spec.h (renamed from sources/libs/brutal/codec/ssfn2/spec.h)2
-rw-r--r--sources/libs/bruwutal/codec/ssfn2/ssfn2.c (renamed from sources/libs/brutal/codec/ssfn2/ssfn2.c)10
-rw-r--r--sources/libs/bruwutal/codec/ssfn2/ssfn2.h (renamed from sources/libs/brutal/codec/ssfn2/ssfn2.h)8
-rw-r--r--sources/libs/bruwutal/codec/tga/tga.c (renamed from sources/libs/brutal/codec/tga/tga.c)2
-rw-r--r--sources/libs/bruwutal/codec/tga/tga.h (renamed from sources/libs/brutal/codec/tga/tga.h)4
-rw-r--r--sources/libs/bruwutal/codec/zlib/zlib.c (renamed from sources/libs/brutal/codec/zlib/zlib.c)10
-rw-r--r--sources/libs/bruwutal/codec/zlib/zlib.h (renamed from sources/libs/brutal/codec/zlib/zlib.h)2
-rw-r--r--sources/libs/bruwutal/debug.h7
-rw-r--r--sources/libs/bruwutal/debug/assert.h (renamed from sources/libs/brutal/debug/assert.h)4
-rw-r--r--sources/libs/bruwutal/debug/locked.h (renamed from sources/libs/brutal/debug/locked.h)6
-rw-r--r--sources/libs/bruwutal/debug/log.c (renamed from sources/libs/brutal/debug/log.c)2
-rw-r--r--sources/libs/bruwutal/debug/log.h (renamed from sources/libs/brutal/debug/log.h)0
-rw-r--r--sources/libs/bruwutal/debug/source_location.h (renamed from sources/libs/brutal/debug/source_location.h)2
-rw-r--r--sources/libs/bruwutal/debug/unlocked.h (renamed from sources/libs/brutal/debug/unlocked.h)6
-rw-r--r--sources/libs/bruwutal/ds.h10
-rw-r--r--sources/libs/bruwutal/ds/bits.c (renamed from sources/libs/brutal/ds/bits.c)6
-rw-r--r--sources/libs/bruwutal/ds/bits.h (renamed from sources/libs/brutal/ds/bits.h)4
-rw-r--r--sources/libs/bruwutal/ds/map.c (renamed from sources/libs/brutal/ds/map.c)4
-rw-r--r--sources/libs/bruwutal/ds/map.h (renamed from sources/libs/brutal/ds/map.h)4
-rw-r--r--sources/libs/bruwutal/ds/range.c (renamed from sources/libs/brutal/ds/range.c)4
-rw-r--r--sources/libs/bruwutal/ds/range.h (renamed from sources/libs/brutal/ds/range.h)6
-rw-r--r--sources/libs/bruwutal/ds/ring.c (renamed from sources/libs/brutal/ds/ring.c)2
-rw-r--r--sources/libs/bruwutal/ds/ring.h (renamed from sources/libs/brutal/ds/ring.h)4
-rw-r--r--sources/libs/bruwutal/ds/slot.c (renamed from sources/libs/brutal/ds/slot.c)6
-rw-r--r--sources/libs/bruwutal/ds/slot.h (renamed from sources/libs/brutal/ds/slot.h)2
-rw-r--r--sources/libs/bruwutal/ds/vec.c (renamed from sources/libs/brutal/ds/vec.c)8
-rw-r--r--sources/libs/bruwutal/ds/vec.h (renamed from sources/libs/brutal/ds/vec.h)10
-rw-r--r--sources/libs/bruwutal/fibers.h5
-rw-r--r--sources/libs/bruwutal/fibers/fibers.c (renamed from sources/libs/brutal/fibers/fibers.c)12
-rw-r--r--sources/libs/bruwutal/fibers/fibers.h (renamed from sources/libs/brutal/fibers/fibers.h)4
-rw-r--r--sources/libs/bruwutal/gfx.h12
-rw-r--r--sources/libs/bruwutal/gfx/buf.c (renamed from sources/libs/brutal/gfx/buf.c)2
-rw-r--r--sources/libs/bruwutal/gfx/buf.h (renamed from sources/libs/brutal/gfx/buf.h)8
-rw-r--r--sources/libs/bruwutal/gfx/color.c (renamed from sources/libs/brutal/gfx/color.c)4
-rw-r--r--sources/libs/bruwutal/gfx/color.h (renamed from sources/libs/brutal/gfx/color.h)2
-rw-r--r--sources/libs/bruwutal/gfx/dirty.c (renamed from sources/libs/brutal/gfx/dirty.c)2
-rw-r--r--sources/libs/bruwutal/gfx/dirty.h (renamed from sources/libs/brutal/gfx/dirty.h)4
-rw-r--r--sources/libs/bruwutal/gfx/fmt.h (renamed from sources/libs/brutal/gfx/fmt.h)6
-rw-r--r--sources/libs/bruwutal/gfx/font.c (renamed from sources/libs/brutal/gfx/font.c)10
-rw-r--r--sources/libs/bruwutal/gfx/font.h (renamed from sources/libs/brutal/gfx/font.h)6
-rw-r--r--sources/libs/bruwutal/gfx/gfx.c (renamed from sources/libs/brutal/gfx/gfx.c)8
-rw-r--r--sources/libs/bruwutal/gfx/gfx.h (renamed from sources/libs/brutal/gfx/gfx.h)14
-rw-r--r--sources/libs/bruwutal/gfx/ops.c (renamed from sources/libs/brutal/gfx/ops.c)2
-rw-r--r--sources/libs/bruwutal/gfx/ops.h (renamed from sources/libs/brutal/gfx/ops.h)2
-rw-r--r--sources/libs/bruwutal/gfx/paint.h (renamed from sources/libs/brutal/gfx/paint.h)6
-rw-r--r--sources/libs/bruwutal/gfx/path.c (renamed from sources/libs/brutal/gfx/path.c)10
-rw-r--r--sources/libs/bruwutal/gfx/path.h (renamed from sources/libs/brutal/gfx/path.h)6
-rw-r--r--sources/libs/bruwutal/gfx/stroke.c (renamed from sources/libs/brutal/gfx/stroke.c)4
-rw-r--r--sources/libs/bruwutal/gfx/stroke.h (renamed from sources/libs/brutal/gfx/stroke.h)2
-rw-r--r--sources/libs/bruwutal/gfx/vga.c (renamed from sources/libs/brutal/gfx/vga.c)2
-rw-r--r--sources/libs/bruwutal/hash.h5
-rw-r--r--sources/libs/bruwutal/hash/adler32.c (renamed from sources/libs/brutal/hash/adler32.c)4
-rw-r--r--sources/libs/bruwutal/hash/adler32.h (renamed from sources/libs/brutal/hash/adler32.h)2
-rw-r--r--sources/libs/bruwutal/hash/crc32.c (renamed from sources/libs/brutal/hash/crc32.c)4
-rw-r--r--sources/libs/bruwutal/hash/crc32.h (renamed from sources/libs/brutal/hash/crc32.h)2
-rw-r--r--sources/libs/bruwutal/hash/fnv.c (renamed from sources/libs/brutal/hash/fnv.c)2
-rw-r--r--sources/libs/bruwutal/hash/fnv.h (renamed from sources/libs/brutal/hash/fnv.h)2
-rw-r--r--sources/libs/bruwutal/input.h6
-rw-r--r--sources/libs/bruwutal/input/keyboard.h (renamed from sources/libs/brutal/input/keyboard.h)4
-rw-r--r--sources/libs/bruwutal/input/mouse.h (renamed from sources/libs/brutal/input/mouse.h)2
-rw-r--r--sources/libs/bruwutal/io.h10
-rw-r--r--sources/libs/bruwutal/io/base.c (renamed from sources/libs/brutal/io/base.c)4
-rw-r--r--sources/libs/bruwutal/io/base.h (renamed from sources/libs/brutal/io/base.h)4
-rw-r--r--sources/libs/bruwutal/io/buf.c (renamed from sources/libs/brutal/io/buf.c)10
-rw-r--r--sources/libs/bruwutal/io/buf.h (renamed from sources/libs/brutal/io/buf.h)4
-rw-r--r--sources/libs/bruwutal/io/emit.c (renamed from sources/libs/brutal/io/emit.c)8
-rw-r--r--sources/libs/bruwutal/io/emit.h (renamed from sources/libs/brutal/io/emit.h)2
-rw-r--r--sources/libs/bruwutal/io/file.c (renamed from sources/libs/brutal/io/file.c)4
-rw-r--r--sources/libs/bruwutal/io/file.h (renamed from sources/libs/brutal/io/file.h)2
-rw-r--r--sources/libs/bruwutal/io/fmt.c (renamed from sources/libs/brutal/io/fmt.c)22
-rw-r--r--sources/libs/bruwutal/io/fmt.h (renamed from sources/libs/brutal/io/fmt.h)10
-rw-r--r--sources/libs/bruwutal/io/funcs.c (renamed from sources/libs/brutal/io/funcs.c)6
-rw-r--r--sources/libs/bruwutal/io/funcs.h (renamed from sources/libs/brutal/io/funcs.h)6
-rw-r--r--sources/libs/bruwutal/io/mem.c (renamed from sources/libs/brutal/io/mem.c)8
-rw-r--r--sources/libs/bruwutal/io/mem.h (renamed from sources/libs/brutal/io/mem.h)4
-rw-r--r--sources/libs/bruwutal/io/rbits.h (renamed from sources/libs/brutal/io/rbits.h)6
-rw-r--r--sources/libs/bruwutal/io/std.c (renamed from sources/libs/brutal/io/std.c)4
-rw-r--r--sources/libs/bruwutal/io/std.h (renamed from sources/libs/brutal/io/std.h)2
-rw-r--r--sources/libs/bruwutal/io/traits.h (renamed from sources/libs/brutal/io/traits.h)2
-rw-r--r--sources/libs/bruwutal/io/wbits.h (renamed from sources/libs/brutal/io/wbits.h)4
-rw-r--r--sources/libs/bruwutal/io/window.c (renamed from sources/libs/brutal/io/window.c)8
-rw-r--r--sources/libs/bruwutal/io/window.h (renamed from sources/libs/brutal/io/window.h)4
-rw-r--r--sources/libs/bruwutal/math.h11
-rw-r--r--sources/libs/bruwutal/math/angle.h (renamed from sources/libs/brutal/math/angle.h)0
-rw-r--r--sources/libs/bruwutal/math/clamp.h (renamed from sources/libs/brutal/math/clamp.h)0
-rw-r--r--sources/libs/bruwutal/math/dock.c (renamed from sources/libs/brutal/math/dock.c)2
-rw-r--r--sources/libs/bruwutal/math/dock.h (renamed from sources/libs/brutal/math/dock.h)4
-rw-r--r--sources/libs/bruwutal/math/easing.c (renamed from sources/libs/brutal/math/easing.c)2
-rw-r--r--sources/libs/bruwutal/math/easing.h (renamed from sources/libs/brutal/math/easing.h)0
-rw-r--r--sources/libs/bruwutal/math/edge.h (renamed from sources/libs/brutal/math/edge.h)10
-rw-r--r--sources/libs/bruwutal/math/flow.c (renamed from sources/libs/brutal/math/flow.c)2
-rw-r--r--sources/libs/bruwutal/math/flow.h (renamed from sources/libs/brutal/math/flow.h)2
-rw-r--r--sources/libs/bruwutal/math/funcs.h (renamed from sources/libs/brutal/math/funcs.h)0
-rw-r--r--sources/libs/bruwutal/math/gravity.c (renamed from sources/libs/brutal/math/gravity.c)2
-rw-r--r--sources/libs/bruwutal/math/gravity.h (renamed from sources/libs/brutal/math/gravity.h)4
-rw-r--r--sources/libs/bruwutal/math/orientation.h (renamed from sources/libs/brutal/math/orientation.h)0
-rw-r--r--sources/libs/bruwutal/math/rand.c (renamed from sources/libs/brutal/math/rand.c)2
-rw-r--r--sources/libs/bruwutal/math/rand.h (renamed from sources/libs/brutal/math/rand.h)2
-rw-r--r--sources/libs/bruwutal/math/rect.h (renamed from sources/libs/brutal/math/rect.h)4
-rw-r--r--sources/libs/bruwutal/math/spacing.c (renamed from sources/libs/brutal/math/spacing.c)2
-rw-r--r--sources/libs/bruwutal/math/spacing.h (renamed from sources/libs/brutal/math/spacing.h)2
-rw-r--r--sources/libs/bruwutal/math/trans2.h (renamed from sources/libs/brutal/math/trans2.h)4
-rw-r--r--sources/libs/bruwutal/math/vec2.h (renamed from sources/libs/brutal/math/vec2.h)4
-rw-r--r--sources/libs/bruwutal/mem.h8
-rw-r--r--sources/libs/bruwutal/mem/const.h (renamed from sources/libs/brutal/mem/const.h)0
-rw-r--r--sources/libs/bruwutal/mem/copy.c (renamed from sources/libs/brutal/mem/copy.c)2
-rw-r--r--sources/libs/bruwutal/mem/funcs.h (renamed from sources/libs/brutal/mem/funcs.h)2
-rw-r--r--sources/libs/bruwutal/mem/move.c (renamed from sources/libs/brutal/mem/move.c)2
-rw-r--r--sources/libs/bruwutal/mem/pages.h (renamed from sources/libs/brutal/mem/pages.h)0
-rw-r--r--sources/libs/bruwutal/mem/set.c (renamed from sources/libs/brutal/mem/set.c)2
-rw-r--r--sources/libs/bruwutal/mem/units.h (renamed from sources/libs/brutal/mem/units.h)2
-rw-r--r--sources/libs/bruwutal/mem/volatile.h (renamed from sources/libs/brutal/mem/volatile.h)2
-rw-r--r--sources/libs/bruwutal/parse.h7
-rw-r--r--sources/libs/bruwutal/parse/lex.c (renamed from sources/libs/brutal/parse/lex.c)4
-rw-r--r--sources/libs/bruwutal/parse/lex.h (renamed from sources/libs/brutal/parse/lex.h)6
-rw-r--r--sources/libs/bruwutal/parse/lexeme.h (renamed from sources/libs/brutal/parse/lexeme.h)2
-rw-r--r--sources/libs/bruwutal/parse/nums.c (renamed from sources/libs/brutal/parse/nums.c)2
-rw-r--r--sources/libs/bruwutal/parse/nums.h (renamed from sources/libs/brutal/parse/nums.h)2
-rw-r--r--sources/libs/bruwutal/parse/scan.c (renamed from sources/libs/brutal/parse/scan.c)8
-rw-r--r--sources/libs/bruwutal/parse/scan.h (renamed from sources/libs/brutal/parse/scan.h)6
-rw-r--r--sources/libs/bruwutal/sync.h7
-rw-r--r--sources/libs/bruwutal/sync/lock.c (renamed from sources/libs/brutal/sync/lock.c)2
-rw-r--r--sources/libs/bruwutal/sync/lock.h (renamed from sources/libs/brutal/sync/lock.h)6
-rw-r--r--sources/libs/bruwutal/sync/ref.h (renamed from sources/libs/brutal/sync/ref.h)2
-rw-r--r--sources/libs/bruwutal/sync/rwlock.c (renamed from sources/libs/brutal/sync/rwlock.c)4
-rw-r--r--sources/libs/bruwutal/sync/rwlock.h (renamed from sources/libs/brutal/sync/rwlock.h)2
-rw-r--r--sources/libs/bruwutal/task.h5
-rw-r--r--sources/libs/bruwutal/task/task.c (renamed from sources/libs/brutal/task/task.c)2
-rw-r--r--sources/libs/bruwutal/task/task.h (renamed from sources/libs/brutal/task/task.h)8
-rw-r--r--sources/libs/bruwutal/task/types.h (renamed from sources/libs/brutal/task/types.h)2
-rw-r--r--sources/libs/bruwutal/text.h15
-rw-r--r--sources/libs/bruwutal/text/case.c (renamed from sources/libs/brutal/text/case.c)6
-rw-r--r--sources/libs/bruwutal/text/case.h (renamed from sources/libs/brutal/text/case.h)2
-rw-r--r--sources/libs/bruwutal/text/cp437.c (renamed from sources/libs/brutal/text/cp437.c)2
-rw-r--r--sources/libs/bruwutal/text/cp437.h (renamed from sources/libs/brutal/text/cp437.h)2
-rw-r--r--sources/libs/bruwutal/text/fmt.c (renamed from sources/libs/brutal/text/fmt.c)4
-rw-r--r--sources/libs/bruwutal/text/fmt.h (renamed from sources/libs/brutal/text/fmt.h)4
-rw-r--r--sources/libs/bruwutal/text/glob.c (renamed from sources/libs/brutal/text/glob.c)4
-rw-r--r--sources/libs/bruwutal/text/glob.h (renamed from sources/libs/brutal/text/glob.h)2
-rw-r--r--sources/libs/bruwutal/text/rune.h6
-rw-r--r--sources/libs/bruwutal/text/str.c (renamed from sources/libs/brutal/text/str.c)4
-rw-r--r--sources/libs/bruwutal/text/str.h (renamed from sources/libs/brutal/text/str.h)6
-rw-r--r--sources/libs/bruwutal/text/string.c (renamed from sources/libs/brutal/text/string.c)0
-rw-r--r--sources/libs/bruwutal/text/string.h (renamed from sources/libs/brutal/text/string.h)2
-rw-r--r--sources/libs/bruwutal/text/utf16.c (renamed from sources/libs/brutal/text/utf16.c)6
-rw-r--r--sources/libs/bruwutal/text/utf16.h (renamed from sources/libs/brutal/text/utf16.h)4
-rw-r--r--sources/libs/bruwutal/text/utf8.c (renamed from sources/libs/brutal/text/utf8.c)2
-rw-r--r--sources/libs/bruwutal/text/utf8.h (renamed from sources/libs/brutal/text/utf8.h)4
-rw-r--r--sources/libs/bruwutal/text/vals.h (renamed from sources/libs/brutal/text/vals.h)0
-rw-r--r--sources/libs/bruwutal/text/witty.c (renamed from sources/libs/brutal/text/witty.c)8
-rw-r--r--sources/libs/bruwutal/text/witty.h (renamed from sources/libs/brutal/text/witty.h)2
-rw-r--r--sources/libs/bruwutal/time.h7
-rw-r--r--sources/libs/bruwutal/time/constants.h (renamed from sources/libs/brutal/time/constants.h)0
-rw-r--r--sources/libs/bruwutal/time/convert.c (renamed from sources/libs/brutal/time/convert.c)4
-rw-r--r--sources/libs/bruwutal/time/convert.h (renamed from sources/libs/brutal/time/convert.h)2
-rw-r--r--sources/libs/bruwutal/time/query.c (renamed from sources/libs/brutal/time/query.c)4
-rw-r--r--sources/libs/bruwutal/time/query.h (renamed from sources/libs/brutal/time/query.h)2
-rw-r--r--sources/libs/bruwutal/time/types.h (renamed from sources/libs/brutal/time/types.h)4
-rw-r--r--sources/libs/bruwutal/ui.h22
-rw-r--r--sources/libs/bruwutal/ui/app.c (renamed from sources/libs/brutal/ui/app.c)8
-rw-r--r--sources/libs/bruwutal/ui/app.h (renamed from sources/libs/brutal/ui/app.h)8
-rw-r--r--sources/libs/bruwutal/ui/button.c (renamed from sources/libs/brutal/ui/button.c)10
-rw-r--r--sources/libs/bruwutal/ui/button.h (renamed from sources/libs/brutal/ui/button.h)2
-rw-r--r--sources/libs/bruwutal/ui/color.c (renamed from sources/libs/brutal/ui/color.c)2
-rw-r--r--sources/libs/bruwutal/ui/color.h (renamed from sources/libs/brutal/ui/color.h)2
-rw-r--r--sources/libs/bruwutal/ui/event.c1
-rw-r--r--sources/libs/bruwutal/ui/event.h (renamed from sources/libs/brutal/ui/event.h)6
-rw-r--r--sources/libs/bruwutal/ui/font.h (renamed from sources/libs/brutal/ui/font.h)2
-rw-r--r--sources/libs/bruwutal/ui/frame.c (renamed from sources/libs/brutal/ui/frame.c)4
-rw-r--r--sources/libs/bruwutal/ui/frame.h (renamed from sources/libs/brutal/ui/frame.h)2
-rw-r--r--sources/libs/bruwutal/ui/icon.c (renamed from sources/libs/brutal/ui/icon.c)8
-rw-r--r--sources/libs/bruwutal/ui/icon.h (renamed from sources/libs/brutal/ui/icon.h)4
-rw-r--r--sources/libs/bruwutal/ui/image.c (renamed from sources/libs/brutal/ui/image.c)4
-rw-r--r--sources/libs/bruwutal/ui/image.h (renamed from sources/libs/brutal/ui/image.h)2
-rw-r--r--sources/libs/bruwutal/ui/layout.c (renamed from sources/libs/brutal/ui/layout.c)4
-rw-r--r--sources/libs/bruwutal/ui/layout.h (renamed from sources/libs/brutal/ui/layout.h)14
-rw-r--r--sources/libs/bruwutal/ui/panel.c (renamed from sources/libs/brutal/ui/panel.c)4
-rw-r--r--sources/libs/bruwutal/ui/panel.h (renamed from sources/libs/brutal/ui/panel.h)2
-rw-r--r--sources/libs/bruwutal/ui/parser.c (renamed from sources/libs/brutal/ui/parser.c)8
-rw-r--r--sources/libs/bruwutal/ui/parser.h (renamed from sources/libs/brutal/ui/parser.h)4
-rw-r--r--sources/libs/bruwutal/ui/slider.c (renamed from sources/libs/brutal/ui/slider.c)4
-rw-r--r--sources/libs/bruwutal/ui/slider.h (renamed from sources/libs/brutal/ui/slider.h)2
-rw-r--r--sources/libs/bruwutal/ui/spacer.c (renamed from sources/libs/brutal/ui/spacer.c)4
-rw-r--r--sources/libs/bruwutal/ui/spacer.h (renamed from sources/libs/brutal/ui/spacer.h)2
-rw-r--r--sources/libs/bruwutal/ui/splitter.c (renamed from sources/libs/brutal/ui/splitter.c)4
-rw-r--r--sources/libs/bruwutal/ui/splitter.h (renamed from sources/libs/brutal/ui/splitter.h)2
-rw-r--r--sources/libs/bruwutal/ui/switch.c (renamed from sources/libs/brutal/ui/switch.c)4
-rw-r--r--sources/libs/bruwutal/ui/switch.h (renamed from sources/libs/brutal/ui/switch.h)2
-rw-r--r--sources/libs/bruwutal/ui/text.c (renamed from sources/libs/brutal/ui/text.c)6
-rw-r--r--sources/libs/bruwutal/ui/text.h (renamed from sources/libs/brutal/ui/text.h)2
-rw-r--r--sources/libs/bruwutal/ui/view.c (renamed from sources/libs/brutal/ui/view.c)10
-rw-r--r--sources/libs/bruwutal/ui/view.h (renamed from sources/libs/brutal/ui/view.h)10
-rw-r--r--sources/libs/bruwutal/ui/win.c (renamed from sources/libs/brutal/ui/win.c)10
-rw-r--r--sources/libs/bruwutal/ui/win.h (renamed from sources/libs/brutal/ui/win.h)4
-rw-r--r--sources/libs/bvm/ctx/global.h2
-rw-r--r--sources/libs/bvm/ctx/local.c2
-rw-r--r--sources/libs/bvm/eval/eval.c2
-rw-r--r--sources/libs/bvm/eval/instr.h2
-rw-r--r--sources/libs/bvm/obj/func.h2
-rw-r--r--sources/libs/bvm/obj/val.c2
-rw-r--r--sources/libs/bvm/obj/val.h2
-rw-r--r--sources/libs/cc/ast/decl.h2
-rw-r--r--sources/libs/cc/ast/expr.h2
-rw-r--r--sources/libs/cc/ast/stmt.h4
-rw-r--r--sources/libs/cc/ast/type.h2
-rw-r--r--sources/libs/cc/ast/val.h2
-rw-r--r--sources/libs/cc/builder/expr.c2
-rw-r--r--sources/libs/cc/builder/stmt.c2
-rw-r--r--sources/libs/cc/builder/type.c2
-rw-r--r--sources/libs/cc/dump.h2
-rw-r--r--sources/libs/cc/dump/dump.c2
-rw-r--r--sources/libs/cc/lex/lexer.c2
-rw-r--r--sources/libs/cc/lex/lexer.h2
-rw-r--r--sources/libs/cc/lex/pproc.c2
-rw-r--r--sources/libs/cc/lex/pproc.h2
-rw-r--r--sources/libs/cc/parse/decl.c2
-rw-r--r--sources/libs/cc/parse/expr.c4
-rw-r--r--sources/libs/cc/parse/stmt.c2
-rw-r--r--sources/libs/cc/sema/visit.c2
-rw-r--r--sources/libs/cc/trans.h2
-rw-r--r--sources/libs/cc/trans/expr.c2
-rw-r--r--sources/libs/cc/trans/val.c2
-rw-r--r--sources/libs/elf/elf.c2
-rw-r--r--sources/libs/elf/elf.h2
-rw-r--r--sources/libs/embed/app-decl.h6
-rw-r--r--sources/libs/embed/app.h2
-rw-r--r--sources/libs/embed/bruwutal/app.c (renamed from sources/libs/embed/brutal/app.c)0
-rw-r--r--sources/libs/embed/bruwutal/app.h (renamed from sources/libs/embed/brutal/app.h)0
-rw-r--r--sources/libs/embed/bruwutal/chan.c (renamed from sources/libs/embed/brutal/chan.c)6
-rw-r--r--sources/libs/embed/bruwutal/debug.c (renamed from sources/libs/embed/brutal/debug.c)0
-rw-r--r--sources/libs/embed/bruwutal/entry.c (renamed from sources/libs/embed/brutal/entry.c)6
-rw-r--r--sources/libs/embed/bruwutal/file.c (renamed from sources/libs/embed/brutal/file.c)2
-rw-r--r--sources/libs/embed/bruwutal/file.h (renamed from sources/libs/embed/brutal/file.h)0
-rw-r--r--sources/libs/embed/bruwutal/log.c (renamed from sources/libs/embed/brutal/log.c)6
-rw-r--r--sources/libs/embed/bruwutal/mem.c (renamed from sources/libs/embed/brutal/mem.c)0
-rw-r--r--sources/libs/embed/bruwutal/sync.c (renamed from sources/libs/embed/brutal/sync.c)0
-rw-r--r--sources/libs/embed/bruwutal/task.c (renamed from sources/libs/embed/brutal/task.c)2
-rw-r--r--sources/libs/embed/bruwutal/time.c (renamed from sources/libs/embed/brutal/time.c)0
-rw-r--r--sources/libs/embed/bruwutal/win.c (renamed from sources/libs/embed/brutal/win.c)2
-rw-r--r--sources/libs/embed/bruwutal/win.h (renamed from sources/libs/embed/brutal/win.h)0
-rw-r--r--sources/libs/embed/bruwutal/x86_64/crt0.s (renamed from sources/libs/embed/brutal/x86_64/crt0.s)0
-rw-r--r--sources/libs/embed/bruwutal/x86_64/crti.s (renamed from sources/libs/embed/brutal/x86_64/crti.s)0
-rw-r--r--sources/libs/embed/bruwutal/x86_64/crtn.s (renamed from sources/libs/embed/brutal/x86_64/crtn.s)0
-rw-r--r--sources/libs/embed/chan.h2
-rw-r--r--sources/libs/embed/debug.h4
-rw-r--r--sources/libs/embed/efi/chan.c6
-rw-r--r--sources/libs/embed/efi/file.c6
-rw-r--r--sources/libs/embed/efi/log.c4
-rw-r--r--sources/libs/embed/efi/mem.c2
-rw-r--r--sources/libs/embed/file-decl.h6
-rw-r--r--sources/libs/embed/file.h2
-rw-r--r--sources/libs/embed/kernel/log.c2
-rw-r--r--sources/libs/embed/kernel/mem.c4
-rw-r--r--sources/libs/embed/log.h2
-rw-r--r--sources/libs/embed/mem.h2
-rw-r--r--sources/libs/embed/posix/chan.c2
-rw-r--r--sources/libs/embed/posix/err.c2
-rw-r--r--sources/libs/embed/posix/err.h2
-rw-r--r--sources/libs/embed/posix/file.c6
-rw-r--r--sources/libs/embed/posix/log.c2
-rw-r--r--sources/libs/embed/posix/mem.c2
-rw-r--r--sources/libs/embed/posix/time.c2
-rw-r--r--sources/libs/embed/sdl/app.c2
-rw-r--r--sources/libs/embed/sdl/win.c2
-rw-r--r--sources/libs/embed/task.h2
-rw-r--r--sources/libs/embed/time.h2
-rw-r--r--sources/libs/embed/win-decl.h6
-rw-r--r--sources/libs/embed/win.h2
-rw-r--r--sources/libs/fs/block.c2
-rw-r--r--sources/libs/fs/block.h6
-rw-r--r--sources/libs/fs/ext2/block.c2
-rw-r--r--sources/libs/fs/ext2/ext2.c4
-rw-r--r--sources/libs/fs/ext2/structure.c2
-rw-r--r--sources/libs/fs/ext2/structure.h4
-rw-r--r--sources/libs/hw/acpi/base.c2
-rw-r--r--sources/libs/hw/acpi/base.h2
-rw-r--r--sources/libs/hw/acpi/rsdt.c2
-rw-r--r--sources/libs/hw/acpi/stdh.h4
-rw-r--r--sources/libs/hw/ahci/ahci.c2
-rw-r--r--sources/libs/hw/ahci/ahci.h2
-rw-r--r--sources/libs/hw/ahci/device.c2
-rw-r--r--sources/libs/hw/ahci/fis.h2
-rw-r--r--sources/libs/hw/ahci/hba.h2
-rw-r--r--sources/libs/hw/efi/lib.c6
-rw-r--r--sources/libs/hw/efi/types.h2
-rw-r--r--sources/libs/hw/fdt/fdt.c2
-rw-r--r--sources/libs/hw/fdt/fdt.h2
-rw-r--r--sources/libs/hw/pci/addr.h2
-rw-r--r--sources/libs/hw/pci/capabilities.h2
-rw-r--r--sources/libs/hw/pci/config.h2
-rw-r--r--sources/libs/hw/pci/pci.c2
-rw-r--r--sources/libs/hw/pci/pci.h2
-rw-r--r--sources/libs/hw/ps2/controller.c2
-rw-r--r--sources/libs/hw/ps2/keyboard.c2
-rw-r--r--sources/libs/hw/ps2/keyboard.h2
-rw-r--r--sources/libs/hw/ps2/mouse.h4
-rw-r--r--sources/libs/hw/uart/uart.c2
-rw-r--r--sources/libs/hw/uart/uart.h2
-rw-r--r--sources/libs/hw/virtio/device.c2
-rw-r--r--sources/libs/hw/virtio/device.h2
-rw-r--r--sources/libs/hw/virtio/device/block.h2
-rw-r--r--sources/libs/hw/virtio/device/entropy.h2
-rw-r--r--sources/libs/hw/virtio/virtqueue.h2
-rw-r--r--sources/libs/idl/ast/builder.c2
-rw-r--r--sources/libs/idl/ast/iface.h2
-rw-r--r--sources/libs/idl/ast/types.h2
-rw-r--r--sources/libs/idl/cgen/binding.c4
-rw-r--r--sources/libs/idl/cgen/dispatch.c4
-rw-r--r--sources/libs/idl/cgen/handler.c2
-rw-r--r--sources/libs/idl/cgen/header.c4
-rw-r--r--sources/libs/idl/cgen/includes.c4
-rw-r--r--sources/libs/idl/cgen/method.c2
-rw-r--r--sources/libs/idl/cgen/pack.c4
-rw-r--r--sources/libs/idl/cgen/provider.c2
-rw-r--r--sources/libs/idl/cgen/source.c2
-rw-r--r--sources/libs/idl/cgen/types.c2
-rw-r--r--sources/libs/idl/cgen/unpack.c4
-rw-r--r--sources/libs/idl/json.c2
-rw-r--r--sources/libs/idl/parse.c6
-rw-r--r--sources/libs/idl/parse.h2
-rw-r--r--sources/libs/idl/sema.c8
-rw-r--r--sources/libs/ipc/component.c2
-rw-r--r--sources/libs/ipc/component.h4
-rw-r--r--sources/libs/ipc/hooks.c4
-rw-r--r--sources/libs/ipc/interface.h2
-rw-r--r--sources/libs/ipc/pack.c4
-rw-r--r--sources/libs/ipc/pack.h4
-rw-r--r--sources/libs/ipc/unpack.c2
-rw-r--r--sources/libs/ipc/unpack.h4
-rw-r--r--sources/libs/json/emit.c2
-rw-r--r--sources/libs/json/emit.h2
-rw-r--r--sources/libs/json/objects.c2
-rw-r--r--sources/libs/json/objects.h2
-rw-r--r--sources/libs/json/parser.c4
-rw-r--r--sources/libs/json/parser.h2
-rw-r--r--sources/libs/stdc-ansi/qsort.c2
-rw-r--r--sources/libs/stdc-ansi/stdlib.c10
-rw-r--r--sources/libs/stdc-ansi/string.c4
-rw-r--r--sources/libs/stdc-ext/string.c2
-rw-r--r--sources/libs/stdc-ext/string.h2
-rw-r--r--sources/libs/ubsan/ubsan.c4
-rw-r--r--sources/loader/config.c4
-rw-r--r--sources/loader/config.h4
-rw-r--r--sources/loader/main.c6
-rw-r--r--sources/loader/memory.c4
-rw-r--r--sources/loader/memory.h2
-rw-r--r--sources/loader/protocol.c6
-rw-r--r--sources/protos/event.idl2
-rw-r--r--sources/protos/math.idl2
-rw-r--r--sources/protos/ui.idl2
-rw-r--r--sources/srvs/acpi/main.c4
-rw-r--r--sources/srvs/ahci/main.c4
-rw-r--r--sources/srvs/pci/main.c4
-rw-r--r--sources/srvs/ps2/main.c8
-rw-r--r--sources/srvs/system/bus.c2
-rw-r--r--sources/srvs/system/main.c4
-rw-r--r--sources/srvs/system/unit.c2
-rw-r--r--sources/srvs/system/unit.h2
-rw-r--r--sources/srvs/window/client.c2
-rw-r--r--sources/srvs/window/client.h6
-rw-r--r--sources/srvs/window/display.h2
-rw-r--r--sources/srvs/window/main.c2
-rw-r--r--sources/srvs/window/server.c4
-rw-r--r--sources/srvs/window/server.h2
-rw-r--r--sources/utils/bvm/main.c4
-rw-r--r--sources/utils/cc/main.c6
-rw-r--r--sources/utils/fontinfo/main.c8
-rw-r--r--sources/utils/fstools/main.c6
-rw-r--r--sources/utils/gunzip/main.c8
-rw-r--r--sources/utils/gzip/main.c8
-rw-r--r--sources/utils/idl/main.c6
-rw-r--r--sources/utils/test/alloc.c2
-rw-r--r--sources/utils/test/brutal/alloc/heap.c2
-rw-r--r--sources/utils/test/brutal/base/endian.c2
-rw-r--r--sources/utils/test/brutal/codec/deflate.c4
-rw-r--r--sources/utils/test/brutal/codec/gzip.c4
-rw-r--r--sources/utils/test/brutal/codec/inflate.c4
-rw-r--r--sources/utils/test/brutal/codec/zlib.c4
-rw-r--r--sources/utils/test/brutal/ds/map.c4
-rw-r--r--sources/utils/test/brutal/ds/range.c4
-rw-r--r--sources/utils/test/brutal/ds/slot.c4
-rw-r--r--sources/utils/test/brutal/ds/vec.c4
-rw-r--r--sources/utils/test/brutal/gfx/ctx.c6
-rw-r--r--sources/utils/test/brutal/io/bit_write.c4
-rw-r--r--sources/utils/test/brutal/io/fmt.c4
-rw-r--r--sources/utils/test/brutal/text/case.c4
-rw-r--r--sources/utils/test/brutal/text/glob.c2
-rw-r--r--sources/utils/test/brutal/ui/parser.c2
-rw-r--r--sources/utils/test/cc/cc.h2
-rw-r--r--sources/utils/test/cc/pproc.c2
-rw-r--r--sources/utils/test/main.c6
-rw-r--r--sources/utils/test/test.h2
-rw-r--r--sysroot/boot/config.json2
555 files changed, 1108 insertions, 1108 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index e90c8f2b..c8cbffdf 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -21,7 +21,7 @@ jobs:
- name: Run Tests
run: |
- TOOLCHAIN=llvm ./brutal.sh --coverage test
+ TOOLCHAIN=llvm ./bruwutal.sh --coverage test
llvm-profdata-12 merge -sparse `find . -name "*.profraw"` -o coverage.profdata
llvm-cov-12 show ./bin/devel/x86_64-host-llvm/test -instr-profile=coverage.profdata -format=text > coverage.txt
diff --git a/.github/workflows/darwin.yml b/.github/workflows/darwin.yml
index ab100652..204950a3 100644
--- a/.github/workflows/darwin.yml
+++ b/.github/workflows/darwin.yml
@@ -24,4 +24,4 @@ jobs:
- name: Run Tests
run: |
- sources/build/scripts/env-darwin.sh ./brutal.sh test
+ sources/build/scripts/env-darwin.sh ./bruwutal.sh test
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index e9bbc440..8c994f39 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -83,4 +83,4 @@ jobs:
- name: Run Tests
run: |
- TOOLCHAIN=${{matrix.toolchain}} ./brutal.sh test
+ TOOLCHAIN=${{matrix.toolchain}} ./bruwutal.sh test
diff --git a/.gitignore b/.gitignore
index 4695775b..ccd9048e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -64,7 +64,7 @@ build/toolchain/gnu/build
build/toolchain/gnu/local
build/toolchain/gnu/tarballs
-meta/brutal.pdf
+meta/bruwutal.pdf
# MacOS
.DS_STORE
diff --git a/brutal.sh b/bruwutal.sh
index 2223283e..2223283e 100755
--- a/brutal.sh
+++ b/bruwutal.sh
diff --git a/build/toolchain/gnu/build.mk b/build/toolchain/gnu/build.mk
index c3e5cbf6..826d2d56 100644
--- a/build/toolchain/gnu/build.mk
+++ b/build/toolchain/gnu/build.mk
@@ -30,7 +30,7 @@ USER_CFLAGS= \
$(BASE_CFLAGS) \
$(ARCH_CFLAGS) \
$(USER_CFLAGS_INC) \
- -D__brutal__=1 \
+ -D__bruwutal__=1 \
-ffreestanding
USER_KCFLAGS= \
@@ -40,7 +40,7 @@ USER_KCFLAGS= \
-fanalyzer \
-ffreestanding \
-fno-stack-protector \
- -D__brutal__=1 \
+ -D__bruwutal__=1 \
-D__kernel__=1 \
-D__freestanding__=1
diff --git a/build/toolchain/llvm/build.mk b/build/toolchain/llvm/build.mk
index 4cb7be83..e258acdb 100644
--- a/build/toolchain/llvm/build.mk
+++ b/build/toolchain/llvm/build.mk
@@ -42,7 +42,7 @@ USER_CFLAGS= \
$(BASE_CFLAGS) \
$(ARCH_CFLAGS) \
$(USER_CFLAGS_INC) \
- -D__brutal__=1 \
+ -D__bruwutal__=1 \
-ffreestanding \
-Wimplicit-fallthrough
@@ -52,7 +52,7 @@ USER_KCFLAGS= \
$(USER_CFLAGS_INC) \
-ffreestanding \
-fno-stack-protector \
- -D__brutal__=1 \
+ -D__bruwutal__=1 \
-D__kernel__=1 \
-D__freestanding__=1 \
-Wimplicit-fallthrough
diff --git a/compile_flags.txt b/compile_flags.txt
index 24c05dd2..e9d53f4f 100644
--- a/compile_flags.txt
+++ b/compile_flags.txt
@@ -1,5 +1,5 @@
-std=gnu2x
--D__brutal__
+-D__bruwutal__
-Wall
-Wextra
-Werror
diff --git a/license b/license
index 1dab3f8b..fce87c32 100644
--- a/license
+++ b/license
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2021 the brutal operating system developers
+Copyright (c) 2021 the bruwutal operating system developers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/makefile b/makefile
index 611f106b..d9e8cf8a 100644
--- a/makefile
+++ b/makefile
@@ -42,7 +42,7 @@ USER_CFLAGS_INC := \
CACHEDIR=.cache/
BINDIR_LOADER=bin/$(CONFIG)/$(ARCH)-loader-$(TOOLCHAIN)
-BINDIR_USER=bin/$(CONFIG)/$(ARCH)-brutal-$(TOOLCHAIN)
+BINDIR_USER=bin/$(CONFIG)/$(ARCH)-bruwutal-$(TOOLCHAIN)
BINDIR_KERNEL=bin/$(CONFIG)/$(ARCH)-kernel-$(TOOLCHAIN)
BINDIR_HOST=bin/$(CONFIG)/$(HOST_ARCH)-host-$(TOOLCHAIN)
diff --git a/meta/building.md b/meta/building.md
index 4e446e1e..a4b8ed9c 100644
--- a/meta/building.md
+++ b/meta/building.md
@@ -1,6 +1,6 @@
# Building
-BRUTAL can be built by using either LLVM or GNU toolchains.
+bruwutal can be built by using either LLVM or GNU toolchains.
In both cases you will need `nasm` and `make`.
@@ -10,11 +10,11 @@ On Arch Linux this can be done by doing `pacman -S make nasm`
## With LLVM
-Before trying to build BRUTAL with LLVM you need to install `lld` and `clang-12`.
+Before trying to build bruwutal with LLVM you need to install `lld` and `clang-12`.
On Arch Linux this can be done by doing `pacman -S lld clang`.
-Build BRUTAL via the LLVM toolchain:
+Build bruwutal via the LLVM toolchain:
`make all`
@@ -22,9 +22,9 @@ Build BRUTAL via the LLVM toolchain:
## With GNU
-In order to build BRUTAL with the GNU toolchain you will need to build the x86_64-elf binutils. This can be done by running the script in `build/toolchain/gnu/build.sh`.
+In order to build bruwutal with the GNU toolchain you will need to build the x86_64-elf binutils. This can be done by running the script in `build/toolchain/gnu/build.sh`.
-After building the binutils you can build BRUTAL by running:
+After building the binutils you can build bruwutal by running:
`make all TOOLCHAIN=gnu`
diff --git a/meta/credits.md b/meta/credits.md
index be1248da..bbd78817 100644
--- a/meta/credits.md
+++ b/meta/credits.md
@@ -1,6 +1,6 @@
# Credits
-The BRUTAL Operating System takes inspirations and/or reuse code from the following projects.
+The bruwutal Operating System takes inspirations and/or reuse code from the following projects.
## **limine-bootloader/limine**
diff --git a/meta/doxyfile b/meta/doxyfile
index fec6969f..4671073c 100644
--- a/meta/doxyfile
+++ b/meta/doxyfile
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
-PROJECT_NAME = "BRUTAL documentation"
+PROJECT_NAME = "bruwutal documentation"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
@@ -44,7 +44,7 @@ PROJECT_NUMBER =
# for a project that appears at the top of each page and should give viewer a
# quick idea about the purpose of the project. Keep the description short.
-# PROJECT_BRIEF = "Striking modernist shapes and bold use of modern C are the hallmarks of BRUTAL. Inspired by brutalist design BRUTAL combines the ideals of UNIX from the 1970s with modern technology and engineering."
+# PROJECT_BRIEF = "Striking modernist shapes and bold use of modern C are the hallmarks of bruwutal. Inspired by bruwutalist design bruwutal combines the ideals of UNIX from the 1970s with modern technology and engineering."
PROJECT_BRIEF = ""
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
diff --git a/meta/introduction.md b/meta/introduction.md
index 54f19545..edd96030 100644
--- a/meta/introduction.md
+++ b/meta/introduction.md
@@ -1,3 +1,3 @@
# Introduction
-Brutal (stylized as **BRUTAL**) is a micro-kernel based operating system built using modern C [(ISO/IEC 9899:2023)](https://wg14.link/c2x)
+bruwutal (stylized as **bruwutal**) is a micro-kernel based operating system built using modern C [(ISO/IEC 9899:2023)](https://wg14.link/c2x)
diff --git a/meta/roadmap.md b/meta/roadmap.md
index 5141c899..c88c7140 100644
--- a/meta/roadmap.md
+++ b/meta/roadmap.md
@@ -101,7 +101,7 @@ The following roadmap is always subject to change.
- [x] SDL Backend
- [x] Render
- [x] Events
- - [x] BRUTAL Backend
+ - [x] bruwutal Backend
- [x] Compositor
- [x] Event Dispatch
- [x] Compositing
diff --git a/meta/scheduling.md b/meta/scheduling.md
index 4ddc05b7..5e1f7b9c 100644
--- a/meta/scheduling.md
+++ b/meta/scheduling.md
@@ -56,7 +56,7 @@ this is way better, but here each process waits 1 tick and stays for 4 tick in t
## The Implementation
-So in brutal we have (this may change over time) a scheduler state for each task:
+So in bruwutal we have (this may change over time) a scheduler state for each task:
```c
struct TaskSchedule
diff --git a/meta/shared/icon-small.png b/meta/shared/icon-small.png
index f5f169d3..cd861fad 100644
--- a/meta/shared/icon-small.png
+++ b/meta/shared/icon-small.png
Binary files differ
diff --git a/meta/shared/icon-tiny.png b/meta/shared/icon-tiny.png
index 08d9d6f5..cd861fad 100644
--- a/meta/shared/icon-tiny.png
+++ b/meta/shared/icon-tiny.png
Binary files differ
diff --git a/meta/shared/icon.png b/meta/shared/icon.png
index 868203c9..cd861fad 100644
--- a/meta/shared/icon.png
+++ b/meta/shared/icon.png
Binary files differ
diff --git a/meta/shared/logo.png b/meta/shared/logo.png
index fb330404..6725f938 100644
--- a/meta/shared/logo.png
+++ b/meta/shared/logo.png
Binary files differ
diff --git a/meta/shared/ugly-logo.png b/meta/shared/ugly-logo.png
new file mode 100644
index 00000000..fb330404
--- /dev/null
+++ b/meta/shared/ugly-logo.png
Binary files differ
diff --git a/readme.md b/readme.md
index 1f4ceec5..7644aae0 100644
--- a/readme.md
+++ b/readme.md
@@ -13,8 +13,8 @@
<br/>
<p align="center">
- Striking modernist shapes and bold use of modern C are the hallmarks of <b>BRUTAL</b>.<br>
- Inspired by brutalist design <b>BRUTAL</b> combines the ideals of UNIX from the 1970s<br> with modern technology and engineering.
+ Striking modernist shapes and bold use of modern C are the hallmarks of <b>bruwutal</b>.<br>
+ Inspired by bruwutalist design <b>bruwutal</b> combines the ideals of UWU<br> with modern technology and engineering.
</p>
<br/>
@@ -23,49 +23,49 @@
<br/>
<br/>
-# BRUTAL
+# bruwutal
<a href="https://github.com/brutal-org/brutal/issues">
- <img src="https://img.shields.io/github/issues/brutal-org/brutal">
+ <img src="https://img.shields.io/github/issues/brutal-org/bruwutal">
</a>
<a href="https://github.com/brutal-org/brutal/network">
- <img src="https://img.shields.io/github/forks/brutal-org/brutal">
+ <img src="https://img.shields.io/github/forks/brutal-org/bruwutal">
</a>
<a href="https://github.com/brutal-org/brutal/stargazers">
- <img src="https://img.shields.io/github/stars/brutal-org/brutal">
+ <img src="https://img.shields.io/github/stars/brutal-org/bruwutal">
</a>
<a href="https://github.com/brutal-org/brutal/blob/main/license">
- <img src="https://img.shields.io/github/license/brutal-org/brutal">
+ <img src="https://img.shields.io/github/license/brutal-org/bruwutal">
</a>
-<a href="https://codecov.io/gh/brutal-org/brutal"><img src="https://codecov.io/gh/brutal-org/brutal/branch/main/graph/badge.svg?token=T4R6TEF56Z" alt="codecov"></a>
-<a href="https://github.com/brutal-org/brutal/actions/workflows/ubuntu.yml"><img src="https://github.com/brutal-org/brutal/actions/workflows/ubuntu.yml/badge.svg" alt="Build and Test (Ubuntu)"></a>
-<a href="https://github.com/brutal-org/brutal/actions/workflows/darwin.yml"><img src="https://github.com/brutal-org/brutal/actions/workflows/darwin.yml/badge.svg" alt="Build and Test (Darwin)"></a>
+<a href="https://codecov.io/gh/bruwutal-org/bruwutal"><img src="https://codecov.io/gh/bruwutal-org/bruwutal/branch/main/graph/badge.svg?token=T4R6TEF56Z" alt="codecov"></a>
+<a href="https://github.com/bruwutal-org/bruwutal/actions/workflows/ubuntu.yml"><img src="https://github.com/bruwutal-org/bruwutal/actions/workflows/ubuntu.yml/badge.svg" alt="Build and Test (Ubuntu)"></a>
+<a href="https://github.com/bruwutal-org/bruwutal/actions/workflows/darwin.yml"><img src="https://github.com/bruwutal-org/bruwutal/actions/workflows/darwin.yml/badge.svg" alt="Build and Test (Darwin)"></a>
<br>
<br>
-- **BRUTAL** is an operating system built from scratch in modern C.
-- **BRUTAL** is built on top of a capabilty based micro-kernel.
-- **BRUTAL** targets x86_64, i686, RISC-V and ARM.
-- **BRUTAL** exposes its features to developers through clean APIs.
-- **BRUTAL** features a rich and modern C library complete with fibers, custom allocators, generic data structures, and more...
+- **bruwutal** is an operating system built from scratch in modern C.
+- **bruwutal** is built on top of a capabilty based micro-kernel.
+- **bruwutal** targets x86_64, i686, RISC-V and ARM.
+- **bruwutal** exposes its features to developers through clean APIs.
+- **bruwutal** features a rich and modern C library complete with fibers, custom allocators, generic data structures, and more...
## Screenshots
<p align="center">
<img src="meta/screenshots/2022-03-26.png" />
<br>
-BRUTAL running in QEMU 6.2
+bruwutal running in QEMU 6.2
</p>
## Build Instructions
-BRUTAL is pretty easy to to build from source using GNUMake, NASM and LLVM.
+bruwutal is pretty easy to to build from source using GNUMake, NASM and LLVM.
See [building.md](meta/building.md) for more details.
## Roadmap
-Right now the main goal of brutal is to run doom.
+Right now the main goal of bruwutal is to run doom.
See [roadmap.md](meta/roadmap.md) for more information on how we plan to get there and where you can contribute.
@@ -81,6 +81,6 @@ See [credits.md](meta/credits.md)
<img align="right" height="96" alt="MIT License" src="meta/shared/mit-license.png" />
</a>
-The brutal operating system and its core components are licensed under the **MIT License**.
+The bruwutal operating system and its core components are licensed under the **MIT License**.
The full text of the license can be accessed via [this link](https://opensource.org/licenses/MIT) and is also included in the [license](license) file of this software package.
diff --git a/sources/apps/about/main.c b/sources/apps/about/main.c
index 84d28b63..f454b0d8 100644
--- a/sources/apps/about/main.c
+++ b/sources/apps/about/main.c
@@ -1,12 +1,12 @@
-#include <brutal/io.h>
-#include <brutal/ui.h>
+#include <bruwutal/io.h>
+#include <bruwutal/ui.h>
UiView *about_informations(void)
{
- UiView *label_title = ui_text_create(str$("BRUTAL"), UI_FONT_TITLE);
+ UiView *label_title = ui_text_create(str$("bruwutal"), UI_FONT_TITLE);
UiView *label_version = ui_text_create(str$("Milestone 5 @ 3b96f95"), UI_FONT_BODY);
- UiView *label_website = ui_text_create(str$("brutal.smnx.sh"), UI_FONT_LINK);
- UiView *label_license = ui_text_create(str$("The brutal operating system and its core components are licensed under the MIT License."), UI_FONT_BODY);
+ UiView *label_website = ui_text_create(str$("bruwutal.smnx.sh"), UI_FONT_LINK);
+ UiView *label_license = ui_text_create(str$("The bruwutal operating system and its core components are licensed under the MIT License."), UI_FONT_BODY);
UiView *button = ui_button_create_with_text(str$("OK"));
ui_view_layout(button, "g-end g-vfill");
diff --git a/sources/apps/bench/bench.h b/sources/apps/bench/bench.h
index bc178c38..7c8ebeb7 100644
--- a/sources/apps/bench/bench.h
+++ b/sources/apps/bench/bench.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/debug.h>
-#include <brutal/gfx.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/gfx.h>
typedef void BenchFunc(Gfx *self, float t);
diff --git a/sources/apps/bench/benchs/path.c b/sources/apps/bench/benchs/path.c
index 4ad29ad4..1e123707 100644
--- a/sources/apps/bench/benchs/path.c
+++ b/sources/apps/bench/benchs/path.c
@@ -1,9 +1,9 @@
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include "../bench.h"
static char const *_logo = "M86 86L43 43L0 0H43H86V43V86ZM43 43L43 0L86 43H43ZM129 86C105.252 86 86 66.7482 86 43C86 19.2518 105.252 0 129 0C152.748 0 172 19.2518 172 43C172 66.7482 152.748 86 129 86ZM107.5 43C107.5 54.8741 117.126 64.5 129 64.5C140.874 64.5 150.5 54.8741 150.5 43C150.5 31.1259 140.874 21.5 129 21.5C117.126 21.5 107.5 31.1259 107.5 43ZM86 129C86 137.505 88.5219 145.818 93.2468 152.89C97.9717 159.961 104.687 165.472 112.545 168.727C120.402 171.981 129.048 172.833 137.389 171.174C145.73 169.515 153.392 165.419 159.406 159.406C165.419 153.392 169.515 145.73 171.174 137.389C172.833 129.048 171.981 120.402 168.727 112.545C165.472 104.687 159.961 97.9717 152.89 93.2468C145.818 88.5219 137.505 86 129 86H86H43V43L0 43L43 86H0V172H86V129ZM86 129H129V86L86 129ZM21.5 150.5V107.5H64.5V150.5H21.5Z";
-BENCH(brutal_logo_fill)
+BENCH(bruwutal_logo_fill)
{
gfx_push(gfx);
gfx_origin(gfx, m_vec2f(64, 64));
@@ -13,7 +13,7 @@ BENCH(brutal_logo_fill)
gfx_pop(gfx);
}
-BENCH(brutal_logo_stroke)
+BENCH(bruwutal_logo_stroke)
{
gfx_push(gfx);
gfx_origin(gfx, m_vec2f(64, 64));
@@ -23,7 +23,7 @@ BENCH(brutal_logo_stroke)
gfx_pop(gfx);
}
-BENCH(brutal_logo_rotated)
+BENCH(bruwutal_logo_rotated)
{
MTrans2 trans = m_trans2_rotate(t);
gfx_push(gfx);
diff --git a/sources/apps/bench/benchs/rect.c b/sources/apps/bench/benchs/rect.c
index 1e1bb224..dac3f3b6 100644
--- a/sources/apps/bench/benchs/rect.c
+++ b/sources/apps/bench/benchs/rect.c
@@ -1,4 +1,4 @@
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include "../bench.h"
BENCH(rect_fill)
diff --git a/sources/apps/bench/benchs/text.c b/sources/apps/bench/benchs/text.c
index fe83673f..a182abd6 100644
--- a/sources/apps/bench/benchs/text.c
+++ b/sources/apps/bench/benchs/text.c
@@ -1,4 +1,4 @@
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include "../bench.h"
BENCH(basic_text)
diff --git a/sources/apps/bench/main.c b/sources/apps/bench/main.c
index f4a45181..1c2b495a 100644
--- a/sources/apps/bench/main.c
+++ b/sources/apps/bench/main.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc.h>
-#include <brutal/parse.h>
-#include <brutal/time.h>
-#include <brutal/ui.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/parse.h>
+#include <bruwutal/time.h>
+#include <bruwutal/ui.h>
#include "bench.h"
// frames pack: the number of frames to pack into a single tick count:
@@ -111,7 +111,7 @@ int main(int argc, char const *argv[])
long sec_per_bench = 3;
Str test_to_run = str$("");
- // FIXME: implement a good way to parse arguments in the brutal library
+ // FIXME: implement a good way to parse arguments in the bruwutal library
for (int i = 1; i < argc; i++)
{
diff --git a/sources/apps/demo/main.c b/sources/apps/demo/main.c
index 3b0880a9..1db58f19 100644
--- a/sources/apps/demo/main.c
+++ b/sources/apps/demo/main.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/io.h>
-#include <brutal/ui.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/io.h>
+#include <bruwutal/ui.h>
UiWin *demo_win_create(UiApp *app)
{
diff --git a/sources/apps/files/main.c b/sources/apps/files/main.c
index 7f442498..7289f0f1 100644
--- a/sources/apps/files/main.c
+++ b/sources/apps/files/main.c
@@ -1,5 +1,5 @@
-#include <brutal/io.h>
-#include <brutal/ui.h>
+#include <bruwutal/io.h>
+#include <bruwutal/ui.h>
UiWin *files_win_create(UiApp *app)
{
diff --git a/sources/apps/panel/main.c b/sources/apps/panel/main.c
index 249aadf6..105d9e54 100644
--- a/sources/apps/panel/main.c
+++ b/sources/apps/panel/main.c
@@ -1,5 +1,5 @@
-#include <brutal/io.h>
-#include <brutal/ui.h>
+#include <bruwutal/io.h>
+#include <bruwutal/ui.h>
UiWin *about_win_create(UiApp *app)
{
diff --git a/sources/build/host/build.mk b/sources/build/host/build.mk
index 3c620eb9..ad72ff1a 100644
--- a/sources/build/host/build.mk
+++ b/sources/build/host/build.mk
@@ -3,9 +3,9 @@ LIBS_HOST_SRC = \
$(wildcard sources/libs/embed/sdl/*.c) \
$(wildcard sources/libs/embed/$(HOST_ARCH)/*.s) \
$(wildcard sources/libs/embed/$(HOST_ARCH)/*.c) \
- $(wildcard sources/libs/brutal/*.c) \
- $(wildcard sources/libs/brutal/*/*.c) \
- $(wildcard sources/libs/brutal/*/*/*.c) \
+ $(wildcard sources/libs/bruwutal/*.c) \
+ $(wildcard sources/libs/bruwutal/*/*.c) \
+ $(wildcard sources/libs/bruwutal/*/*/*.c) \
$(wildcard sources/libs/cc/*.c) \
$(wildcard sources/libs/cc/*/*.c) \
$(wildcard sources/libs/cc/*/*/*.c) \
@@ -24,7 +24,7 @@ LIBS_HOST_SRC = \
LIBS_HOST_OBJ = \
$(patsubst sources/%, $(BINDIR_HOST)/%.o, $(LIBS_HOST_SRC))
-LIBS_HOST_BIN=$(BINDIR_HOST)/libbrutal.a
+LIBS_HOST_BIN=$(BINDIR_HOST)/libbruwutal.a
$(BINDIR_HOST)/%.c.o: sources/%.c
@$(MKCWD)
diff --git a/sources/build/kernel/build.mk b/sources/build/kernel/build.mk
index bc78215f..f8c397d4 100644
--- a/sources/build/kernel/build.mk
+++ b/sources/build/kernel/build.mk
@@ -2,16 +2,16 @@ KERNEL=$(BINDIR_KERNEL)/kernel.elf
KERNEL_SRC += \
sources/libs/bal/abi/helpers.c \
- sources/libs/brutal/io/fmt.c \
- sources/libs/brutal/io/emit.c \
- sources/libs/brutal/io/funcs.c \
- sources/libs/brutal/io/base.c \
- sources/libs/brutal/time/convert.c \
+ sources/libs/bruwutal/io/fmt.c \
+ sources/libs/bruwutal/io/emit.c \
+ sources/libs/bruwutal/io/funcs.c \
+ sources/libs/bruwutal/io/base.c \
+ sources/libs/bruwutal/time/convert.c \
sources/libs/elf/elf.c \
sources/libs/bal/boot/handover.c \
sources/libs/stdc-ansi/ctype.c \
sources/libs/stdc-ansi/string.c \
- sources/libs/brutal/io/buf.c \
+ sources/libs/bruwutal/io/buf.c \
$(wildcard sources/kernel/*.c) \
$(wildcard sources/kernel/$(ARCH)/*.c) \
$(wildcard sources/kernel/$(ARCH)/*.s) \
@@ -19,16 +19,16 @@ KERNEL_SRC += \
$(wildcard sources/libs/embed/$(ARCH)/*.s) \
$(wildcard sources/libs/embed/kernel/*.c) \
$(wildcard sources/libs/hw/acpi/*.c) \
- $(wildcard sources/libs/brutal/alloc/*.c) \
- $(wildcard sources/libs/brutal/ds/*.c) \
- $(wildcard sources/libs/brutal/hash/*.c) \
+ $(wildcard sources/libs/bruwutal/alloc/*.c) \
+ $(wildcard sources/libs/bruwutal/ds/*.c) \
+ $(wildcard sources/libs/bruwutal/hash/*.c) \
$(wildcard sources/libs/hw/fdt/*.c) \
$(wildcard sources/libs/hw/uart/*.c) \
- $(wildcard sources/libs/brutal/parse/*.c) \
- $(wildcard sources/libs/brutal/debug/*.c) \
- $(wildcard sources/libs/brutal/mem/*.c) \
- $(wildcard sources/libs/brutal/sync/*.c) \
- $(wildcard sources/libs/brutal/text/*.c) \
+ $(wildcard sources/libs/bruwutal/parse/*.c) \
+ $(wildcard sources/libs/bruwutal/debug/*.c) \
+ $(wildcard sources/libs/bruwutal/mem/*.c) \
+ $(wildcard sources/libs/bruwutal/sync/*.c) \
+ $(wildcard sources/libs/bruwutal/text/*.c) \
$(wildcard sources/libs/absan/*.c) \
$(wildcard sources/libs/ubsan/*.c)
diff --git a/sources/build/loader/loader.mk b/sources/build/loader/loader.mk
index 43561eaf..8a1e3169 100644
--- a/sources/build/loader/loader.mk
+++ b/sources/build/loader/loader.mk
@@ -32,30 +32,30 @@ LOADER_LDFLAGS= \
LOADER_SRC = \
sources/libs/bal/boot/handover.c \
- sources/libs/brutal/io/buf.c \
- sources/libs/brutal/io/emit.c \
- sources/libs/brutal/io/file.c \
- sources/libs/brutal/io/fmt.c \
- sources/libs/brutal/io/funcs.c \
- sources/libs/brutal/io/base.c \
- sources/libs/brutal/io/std.c \
- sources/libs/brutal/parse/lex.c \
- sources/libs/brutal/parse/nums.c \
- sources/libs/brutal/parse/scan.c \
+ sources/libs/bruwutal/io/buf.c \
+ sources/libs/bruwutal/io/emit.c \
+ sources/libs/bruwutal/io/file.c \
+ sources/libs/bruwutal/io/fmt.c \
+ sources/libs/bruwutal/io/funcs.c \
+ sources/libs/bruwutal/io/base.c \
+ sources/libs/bruwutal/io/std.c \
+ sources/libs/bruwutal/parse/lex.c \
+ sources/libs/bruwutal/parse/nums.c \
+ sources/libs/bruwutal/parse/scan.c \
sources/libs/hw/fdt/fdt.c \
sources/libs/stdc-ansi/ctype.c \
sources/libs/stdc-ansi/string.c \
$(wildcard sources/loader/*.c) \
$(wildcard sources/libs/json/parser.c) \
$(wildcard sources/libs/json/objects.c) \
- $(wildcard sources/libs/brutal/alloc/*.c) \
- $(wildcard sources/libs/brutal/ds/*.c) \
- $(wildcard sources/libs/brutal/hash/*.c) \
+ $(wildcard sources/libs/bruwutal/alloc/*.c) \
+ $(wildcard sources/libs/bruwutal/ds/*.c) \
+ $(wildcard sources/libs/bruwutal/hash/*.c) \
$(wildcard sources/libs/embed/efi/*.c) \
$(wildcard sources/libs/embed/$(ARCH)/*.c) \
- $(wildcard sources/libs/brutal/debug/*.c) \
- $(wildcard sources/libs/brutal/mem/*.c) \
- $(wildcard sources/libs/brutal/text/*.c) \
+ $(wildcard sources/libs/bruwutal/debug/*.c) \
+ $(wildcard sources/libs/bruwutal/mem/*.c) \
+ $(wildcard sources/libs/bruwutal/text/*.c) \
$(wildcard sources/libs/elf/elf.c) \
$(wildcard sources/libs/hw/efi/*/*.c) \
$(wildcard sources/libs/hw/efi/*.c)
diff --git a/sources/build/scripts/manifest-builder.py b/sources/build/scripts/manifest-builder.py
index 9efaa5ed..d89cb990 100755
--- a/sources/build/scripts/manifest-builder.py
+++ b/sources/build/scripts/manifest-builder.py
@@ -13,7 +13,7 @@ def _popen(args):
def _tool(args):
- code, tool_path = _popen(["./brutal.sh", "--resolve", args[0]])
+ code, tool_path = _popen(["./bruwutal.sh", "--resolve", args[0]])
return _popen([tool_path] + args[1:])
diff --git a/sources/build/target/build.mk b/sources/build/target/build.mk
index ea0e36d7..b499c2be 100644
--- a/sources/build/target/build.mk
+++ b/sources/build/target/build.mk
@@ -1,16 +1,16 @@
LIBS_SRC = \
- $(wildcard sources/libs/embed/brutal/*.c) \
- $(wildcard sources/libs/embed/brutal/$(ARCH)/*.c) \
- $(wildcard sources/libs/embed/brutal/$(ARCH)/*.s) \
+ $(wildcard sources/libs/embed/bruwutal/*.c) \
+ $(wildcard sources/libs/embed/bruwutal/$(ARCH)/*.c) \
+ $(wildcard sources/libs/embed/bruwutal/$(ARCH)/*.s) \
$(wildcard sources/libs/embed/$(ARCH)/*.c) \
$(wildcard sources/libs/embed/$(ARCH)/*.s) \
$(wildcard sources/libs/ipc/*.c) \
$(wildcard sources/libs/ipc/*/*.c) \
$(wildcard sources/libs/bal/*.c) \
$(wildcard sources/libs/bal/*/*.c) \
- $(wildcard sources/libs/brutal/*.c) \
- $(wildcard sources/libs/brutal/*/*.c) \
- $(wildcard sources/libs/brutal/*/*/*.c) \
+ $(wildcard sources/libs/bruwutal/*.c) \
+ $(wildcard sources/libs/bruwutal/*/*.c) \
+ $(wildcard sources/libs/bruwutal/*/*/*.c) \
$(wildcard sources/libs/cc/*.c) \
$(wildcard sources/libs/cc/*/*.c) \
$(wildcard sources/libs/cc/*/*/*.c) \
@@ -30,7 +30,7 @@ LIBS_OBJ = \
$(patsubst $(GENDIR)/%, $(BINDIR_USER)/%.o, $(GENERATED_SRC))
-LIBS_BIN=$(BINDIR_USER)/libbrutal.a
+LIBS_BIN=$(BINDIR_USER)/libbruwutal.a
DEPENDENCIES += $(LIBS_OBJ:.o=.d)
@@ -77,8 +77,8 @@ $$($(1)_BIN): $$($(1)_OBJ) $(LIBS_BIN) $$($(1)_JSON)
@$$(MKCWD)
$(USER_LD) -o $$@ $$($(1)_OBJ) $(LIBS_BIN) $(USER_ULDFLAGS)
$(USER_OBJCOPY) \
- --add-section .brutal.manifest=$$($(1)_JSON) \
- --set-section-flags .brutal.manifest=readonly,contents \
+ --add-section .bruwutal.manifest=$$($(1)_JSON) \
+ --set-section-flags .bruwutal.manifest=readonly,contents \
$$@
diff --git a/sources/kernel/arch.h b/sources/kernel/arch.h
index 71784757..66fa0046 100644
--- a/sources/kernel/arch.h
+++ b/sources/kernel/arch.h
@@ -2,7 +2,7 @@
#include <bal/abi.h>
#include <bal/boot.h>
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include "kernel/tasking.h"
IoWriter arch_debug(void);
diff --git a/sources/kernel/channel.c b/sources/kernel/channel.c
index a096cc2e..53638f07 100644
--- a/sources/kernel/channel.c
+++ b/sources/kernel/channel.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/channel.h"
#include "kernel/kernel.h"
#include "kernel/sched.h"
diff --git a/sources/kernel/channel.h b/sources/kernel/channel.h
index f36b4677..1a6e88af 100644
--- a/sources/kernel/channel.h
+++ b/sources/kernel/channel.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include "kernel/parcel.h"
typedef struct
diff --git a/sources/kernel/cpu.c b/sources/kernel/cpu.c
index 1ec11600..cd75230d 100644
--- a/sources/kernel/cpu.c
+++ b/sources/kernel/cpu.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/cpu.h"
void cpu_begin_interrupt(void)
diff --git a/sources/kernel/cpu.h b/sources/kernel/cpu.h
index 7752d3d7..9753c8dd 100644
--- a/sources/kernel/cpu.h
+++ b/sources/kernel/cpu.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/task/types.h>
+#include <bruwutal/task/types.h>
#include "kernel/task.h"
typedef struct
diff --git a/sources/kernel/domain.c b/sources/kernel/domain.c
index 78944ba1..f0305ea6 100644
--- a/sources/kernel/domain.c
+++ b/sources/kernel/domain.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/domain.h"
void domain_destroy(Domain *self)
diff --git a/sources/kernel/event.c b/sources/kernel/event.c
index 5f4a28ba..19caa938 100644
--- a/sources/kernel/event.c
+++ b/sources/kernel/event.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ds.h>
#include "kernel/event.h"
static RwLock _lock = {};
diff --git a/sources/kernel/init.c b/sources/kernel/init.c
index 9230857f..c873fa47 100644
--- a/sources/kernel/init.c
+++ b/sources/kernel/init.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/heap.h"
#include "kernel/init.h"
#include "kernel/kernel.h"
diff --git a/sources/kernel/kernel.c b/sources/kernel/kernel.c
index e99521bf..462cd459 100644
--- a/sources/kernel/kernel.c
+++ b/sources/kernel/kernel.c
@@ -1,7 +1,7 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
void kernel_splash(void)
{
- log$("BRUTAL - Milestone 5");
+ log$("bruwutal - Milestone 5");
log$("\"Long live the UNIX utopia!\"");
}
diff --git a/sources/kernel/memory.c b/sources/kernel/memory.c
index 7b88016b..877a164b 100644
--- a/sources/kernel/memory.c
+++ b/sources/kernel/memory.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/memory.h"
void memory_destroy(Memory *self)
diff --git a/sources/kernel/memory.h b/sources/kernel/memory.h
index 2f6ce04b..fe88ce5c 100644
--- a/sources/kernel/memory.h
+++ b/sources/kernel/memory.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/sync.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/sync.h>
#include "kernel/domain.h"
#include "kernel/heap.h"
#include "kernel/pmm.h"
diff --git a/sources/kernel/mmap.h b/sources/kernel/mmap.h
index da8ad5f4..71eaadf8 100644
--- a/sources/kernel/mmap.h
+++ b/sources/kernel/mmap.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
#if defined(__x86_64)
# define MMAP_IO_BASE (0xffff800000000000)
diff --git a/sources/kernel/object.c b/sources/kernel/object.c
index 3d1f20b2..c58f141b 100644
--- a/sources/kernel/object.c
+++ b/sources/kernel/object.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include "kernel/object.h"
static _Atomic BrHandle _id = 1;
diff --git a/sources/kernel/object.h b/sources/kernel/object.h
index ec389866..c7906822 100644
--- a/sources/kernel/object.h
+++ b/sources/kernel/object.h
@@ -1,8 +1,8 @@
#pragma once
#include <bal/abi.h>
-#include <brutal/ds.h>
-#include <brutal/sync.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/sync.h>
typedef void ObjectDtor(void *object);
diff --git a/sources/kernel/pmm.c b/sources/kernel/pmm.c
index 395ecfed..74251e83 100644
--- a/sources/kernel/pmm.c
+++ b/sources/kernel/pmm.c
@@ -1,7 +1,7 @@
-#include <brutal/debug.h>
-#include <brutal/ds.h>
-#include <brutal/mem.h>
-#include <brutal/sync.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/mem.h>
+#include <bruwutal/sync.h>
#include "kernel/arch.h"
#include "kernel/mmap.h"
#include "kernel/pmm.h"
diff --git a/sources/kernel/pmm.h b/sources/kernel/pmm.h
index 6c577ff9..c0f52957 100644
--- a/sources/kernel/pmm.h
+++ b/sources/kernel/pmm.h
@@ -2,7 +2,7 @@
#include <bal/abi.h>
#include <bal/boot.h>
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#define PMM_USED (true)
#define PMM_UNUSED (false)
diff --git a/sources/kernel/riscv64/asm.h b/sources/kernel/riscv64/asm.h
index c10d46cf..ff9e8ba4 100644
--- a/sources/kernel/riscv64/asm.h
+++ b/sources/kernel/riscv64/asm.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
enum csr_regs
{
diff --git a/sources/kernel/riscv64/boot.c b/sources/kernel/riscv64/boot.c
index ef50bdb4..58e97b1a 100644
--- a/sources/kernel/riscv64/boot.c
+++ b/sources/kernel/riscv64/boot.c
@@ -1,7 +1,7 @@
#include <bal/boot.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ds.h>
#include <fdt/fdt.h>
#include <fdt/handover.h>
#include "kernel/arch.h"
diff --git a/sources/kernel/riscv64/context.c b/sources/kernel/riscv64/context.c
index 1307b85e..c598ab37 100644
--- a/sources/kernel/riscv64/context.c
+++ b/sources/kernel/riscv64/context.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/context.h"
Context *context_create(void)
diff --git a/sources/kernel/riscv64/context.h b/sources/kernel/riscv64/context.h
index 89212cbe..b9076a80 100644
--- a/sources/kernel/riscv64/context.h
+++ b/sources/kernel/riscv64/context.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
struct _Context
{
uintptr_t syscall_kernel_stack;
diff --git a/sources/kernel/riscv64/cpu.c b/sources/kernel/riscv64/cpu.c
index 8d0cad98..536e1671 100644
--- a/sources/kernel/riscv64/cpu.c
+++ b/sources/kernel/riscv64/cpu.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/cpu.h"
#include "kernel/heap.h"
#include "kernel/kernel.h"
diff --git a/sources/kernel/riscv64/heap.c b/sources/kernel/riscv64/heap.c
index 16487e4a..77dd3feb 100644
--- a/sources/kernel/riscv64/heap.c
+++ b/sources/kernel/riscv64/heap.c
@@ -1,4 +1,4 @@
-#include <brutal/sync.h>
+#include <bruwutal/sync.h>
#include "kernel/heap.h"
#include "kernel/mmap.h"
#include "kernel/pmm.h"
diff --git a/sources/kernel/riscv64/interrupts.c b/sources/kernel/riscv64/interrupts.c
index b6a3f298..37db84fc 100644
--- a/sources/kernel/riscv64/interrupts.c
+++ b/sources/kernel/riscv64/interrupts.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include "kernel/riscv64/asm.h"
#include "kernel/riscv64/interrupts.h"
diff --git a/sources/kernel/riscv64/interrupts.h b/sources/kernel/riscv64/interrupts.h
index c96fc7a5..c9e4974e 100644
--- a/sources/kernel/riscv64/interrupts.h
+++ b/sources/kernel/riscv64/interrupts.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef struct
{
diff --git a/sources/kernel/riscv64/sifive_uart.c b/sources/kernel/riscv64/sifive_uart.c
index c1804af8..6258b383 100644
--- a/sources/kernel/riscv64/sifive_uart.c
+++ b/sources/kernel/riscv64/sifive_uart.c
@@ -1,4 +1,4 @@
-#include <brutal/mem.h>
+#include <bruwutal/mem.h>
#include "kernel/riscv64/sifive_uart.h"
static Uart _self;
diff --git a/sources/kernel/riscv64/uart8250.c b/sources/kernel/riscv64/uart8250.c
index 5eaac8e3..0033e57d 100644
--- a/sources/kernel/riscv64/uart8250.c
+++ b/sources/kernel/riscv64/uart8250.c
@@ -1,6 +1,6 @@
#include "kernel/riscv64/uart8250.h"
-#include <brutal/base.h>
-#include <brutal/mem.h>
+#include <bruwutal/base.h>
+#include <bruwutal/mem.h>
static Uart _self;
diff --git a/sources/kernel/riscv64/vmm.c b/sources/kernel/riscv64/vmm.c
index fe028a3b..1ef1d89c 100644
--- a/sources/kernel/riscv64/vmm.c
+++ b/sources/kernel/riscv64/vmm.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/sync.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/sync.h>
#include "kernel/heap.h"
#include "kernel/mmap.h"
#include "kernel/riscv64/asm.h"
diff --git a/sources/kernel/sched.c b/sources/kernel/sched.c
index 03f89b40..8153454f 100644
--- a/sources/kernel/sched.c
+++ b/sources/kernel/sched.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/arch.h"
#include "kernel/cpu.h"
#include "kernel/sched.h"
diff --git a/sources/kernel/space.c b/sources/kernel/space.c
index cac9ca4a..91aff9b0 100644
--- a/sources/kernel/space.c
+++ b/sources/kernel/space.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/space.h"
/* --- Memory Mappings ------------------------------------------------------ */
diff --git a/sources/kernel/syscalls.c b/sources/kernel/syscalls.c
index b7765ffa..39908de4 100644
--- a/sources/kernel/syscalls.c
+++ b/sources/kernel/syscalls.c
@@ -1,5 +1,5 @@
#include <bal/abi.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/log.h>
#include "kernel/arch.h"
#include "kernel/domain.h"
diff --git a/sources/kernel/task.c b/sources/kernel/task.c
index 9a6e2b85..72386977 100644
--- a/sources/kernel/task.c
+++ b/sources/kernel/task.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/cpu.h"
#include "kernel/event.h"
#include "kernel/kernel.h"
diff --git a/sources/kernel/task.h b/sources/kernel/task.h
index 1381ac25..faf4ad9c 100644
--- a/sources/kernel/task.h
+++ b/sources/kernel/task.h
@@ -1,9 +1,9 @@
#pragma once
#include <bal/abi.h>
-#include <brutal/text.h>
-#include <brutal/time.h>
-#include <brutal/task/types.h>
+#include <bruwutal/text.h>
+#include <bruwutal/time.h>
+#include <bruwutal/task/types.h>
#include "kernel/channel.h"
#include "kernel/context.h"
#include "kernel/space.h"
diff --git a/sources/kernel/tasking.c b/sources/kernel/tasking.c
index 8a4ec407..b9a905ad 100644
--- a/sources/kernel/tasking.c
+++ b/sources/kernel/tasking.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/arch.h"
#include "kernel/sched.h"
#include "kernel/task.h"
diff --git a/sources/kernel/x86_64/apic.c b/sources/kernel/x86_64/apic.c
index 35d37754..c2e690ae 100644
--- a/sources/kernel/x86_64/apic.c
+++ b/sources/kernel/x86_64/apic.c
@@ -1,7 +1,7 @@
#include <acpi/madt.h>
#include <acpi/rsdt.h>
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
#include "kernel/mmap.h"
#include "kernel/x86_64/apic.h"
#include "kernel/x86_64/asm.h"
diff --git a/sources/kernel/x86_64/asm.h b/sources/kernel/x86_64/asm.h
index 44559d34..718462ae 100644
--- a/sources/kernel/x86_64/asm.h
+++ b/sources/kernel/x86_64/asm.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
static inline void asm_cli(void) { asm volatile("cli"); }
diff --git a/sources/kernel/x86_64/boot.c b/sources/kernel/x86_64/boot.c
index c8626181..e623e203 100644
--- a/sources/kernel/x86_64/boot.c
+++ b/sources/kernel/x86_64/boot.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/arch.h"
#include "kernel/event.h"
#include "kernel/init.h"
diff --git a/sources/kernel/x86_64/cmos.c b/sources/kernel/x86_64/cmos.c
index f216f024..15a8d43c 100644
--- a/sources/kernel/x86_64/cmos.c
+++ b/sources/kernel/x86_64/cmos.c
@@ -1,4 +1,4 @@
-#include <brutal/sync.h>
+#include <bruwutal/sync.h>
#include "kernel/x86_64/asm.h"
#include "kernel/x86_64/cmos.h"
diff --git a/sources/kernel/x86_64/cmos.h b/sources/kernel/x86_64/cmos.h
index e417acda..f6a8d907 100644
--- a/sources/kernel/x86_64/cmos.h
+++ b/sources/kernel/x86_64/cmos.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/time.h>
+#include <bruwutal/time.h>
#define CMOS_ADDRESS 0x70
#define CMOS_DATA 0x71
diff --git a/sources/kernel/x86_64/com.h b/sources/kernel/x86_64/com.h
index d9d815d8..42496fb9 100644
--- a/sources/kernel/x86_64/com.h
+++ b/sources/kernel/x86_64/com.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
enum com_port
{
diff --git a/sources/kernel/x86_64/context.c b/sources/kernel/x86_64/context.c
index a3126dad..8fd92db5 100644
--- a/sources/kernel/x86_64/context.c
+++ b/sources/kernel/x86_64/context.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include "kernel/context.h"
#include "kernel/x86_64/asm.h"
#include "kernel/x86_64/gdt.h"
diff --git a/sources/kernel/x86_64/cpu.c b/sources/kernel/x86_64/cpu.c
index 99f569d8..9cd112e0 100644
--- a/sources/kernel/x86_64/cpu.c
+++ b/sources/kernel/x86_64/cpu.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/cpu.h"
#include "kernel/heap.h"
#include "kernel/kernel.h"
diff --git a/sources/kernel/x86_64/cpuid.c b/sources/kernel/x86_64/cpuid.c
index a2cea698..9a20f30c 100644
--- a/sources/kernel/x86_64/cpuid.c
+++ b/sources/kernel/x86_64/cpuid.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/x86_64/cpuid.h"
CpuidResult cpuid(uint32_t leaf, uint32_t subleaf)
diff --git a/sources/kernel/x86_64/cpuid.h b/sources/kernel/x86_64/cpuid.h
index 1cfd8350..e06c7019 100644
--- a/sources/kernel/x86_64/cpuid.h
+++ b/sources/kernel/x86_64/cpuid.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
// doc: https://www.amd.com/system/files/TechDocs/25481.pdf
diff --git a/sources/kernel/x86_64/gdt.c b/sources/kernel/x86_64/gdt.c
index de3c7c98..218b7306 100644
--- a/sources/kernel/x86_64/gdt.c
+++ b/sources/kernel/x86_64/gdt.c
@@ -1,4 +1,4 @@
-#include <brutal/sync.h>
+#include <bruwutal/sync.h>
#include "kernel/x86_64/gdt.h"
static Tss _tss = {
diff --git a/sources/kernel/x86_64/gdt.h b/sources/kernel/x86_64/gdt.h
index 1deb8ae8..3d9909b9 100644
--- a/sources/kernel/x86_64/gdt.h
+++ b/sources/kernel/x86_64/gdt.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define GDT_ENTRY_COUNT 5
#define GDT_SEGMENT (0b00010000)
diff --git a/sources/kernel/x86_64/heap.c b/sources/kernel/x86_64/heap.c
index 7f3ee5af..e5c516b2 100644
--- a/sources/kernel/x86_64/heap.c
+++ b/sources/kernel/x86_64/heap.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/sync.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/sync.h>
#include "kernel/heap.h"
#include "kernel/mmap.h"
#include "kernel/pmm.h"
diff --git a/sources/kernel/x86_64/hpet.c b/sources/kernel/x86_64/hpet.c
index 243be6a2..e850c5b7 100644
--- a/sources/kernel/x86_64/hpet.c
+++ b/sources/kernel/x86_64/hpet.c
@@ -1,8 +1,8 @@
#include <acpi/hpet.h>
#include <acpi/rsdt.h>
-#include <brutal/debug.h>
-#include <brutal/mem.h>
-#include "brutal/mem/volatile.h"
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
+#include "bruwutal/mem/volatile.h"
#include "kernel/mmap.h"
#include "kernel/x86_64/hpet.h"
diff --git a/sources/kernel/x86_64/idt.c b/sources/kernel/x86_64/idt.c
index 09221178..f7644644 100644
--- a/sources/kernel/x86_64/idt.c
+++ b/sources/kernel/x86_64/idt.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/arch.h"
#include "kernel/x86_64/apic.h"
#include "kernel/x86_64/gdt.h"
diff --git a/sources/kernel/x86_64/idt.h b/sources/kernel/x86_64/idt.h
index 63101c81..a4a119ad 100644
--- a/sources/kernel/x86_64/idt.h
+++ b/sources/kernel/x86_64/idt.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
enum
{
diff --git a/sources/kernel/x86_64/interrupts.c b/sources/kernel/x86_64/interrupts.c
index b477d746..bb1b1e7f 100644
--- a/sources/kernel/x86_64/interrupts.c
+++ b/sources/kernel/x86_64/interrupts.c
@@ -1,7 +1,7 @@
-#include <brutal/debug.h>
-#include <brutal/sync.h>
-#include <brutal/task/types.h>
-#include <brutal/time.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/sync.h>
+#include <bruwutal/task/types.h>
+#include <bruwutal/time.h>
#include "kernel/context.h"
#include "kernel/cpu.h"
#include "kernel/event.h"
diff --git a/sources/kernel/x86_64/interrupts.h b/sources/kernel/x86_64/interrupts.h
index ce6bc98e..0872932d 100644
--- a/sources/kernel/x86_64/interrupts.h
+++ b/sources/kernel/x86_64/interrupts.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef struct PACKED
{
diff --git a/sources/kernel/x86_64/paging.h b/sources/kernel/x86_64/paging.h
index 019c35b4..1f6cb6dc 100644
--- a/sources/kernel/x86_64/paging.h
+++ b/sources/kernel/x86_64/paging.h
@@ -1,7 +1,7 @@
#pragma once
#include <bal/abi.h>
-#include <brutal/mem.h>
+#include <bruwutal/mem.h>
typedef union PACKED
{
diff --git a/sources/kernel/x86_64/simd.c b/sources/kernel/x86_64/simd.c
index 5c46c7bd..5ff855db 100644
--- a/sources/kernel/x86_64/simd.c
+++ b/sources/kernel/x86_64/simd.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/x86_64/asm.h"
#include "kernel/x86_64/cpuid.h"
#include "kernel/x86_64/simd.h"
diff --git a/sources/kernel/x86_64/simd.h b/sources/kernel/x86_64/simd.h
index a98bf028..84d4f6b1 100644
--- a/sources/kernel/x86_64/simd.h
+++ b/sources/kernel/x86_64/simd.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
void simd_initialize(void);
diff --git a/sources/kernel/x86_64/smp.c b/sources/kernel/x86_64/smp.c
index 62a0c71f..8366daf0 100644
--- a/sources/kernel/x86_64/smp.c
+++ b/sources/kernel/x86_64/smp.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
#include <embed/mem.h>
#include "kernel/arch.h"
#include "kernel/heap.h"
diff --git a/sources/kernel/x86_64/syscall.c b/sources/kernel/x86_64/syscall.c
index b1070f5f..e465878c 100644
--- a/sources/kernel/x86_64/syscall.c
+++ b/sources/kernel/x86_64/syscall.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "kernel/heap.h"
#include "kernel/kernel.h"
#include "kernel/syscalls.h"
diff --git a/sources/kernel/x86_64/syscall.h b/sources/kernel/x86_64/syscall.h
index b7e4fd68..1a9acebc 100644
--- a/sources/kernel/x86_64/syscall.h
+++ b/sources/kernel/x86_64/syscall.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
void syscall_initialize(void);
diff --git a/sources/kernel/x86_64/vmm.c b/sources/kernel/x86_64/vmm.c
index 8a037f34..d96e76b4 100644
--- a/sources/kernel/x86_64/vmm.c
+++ b/sources/kernel/x86_64/vmm.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/sync.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/sync.h>
#include "kernel/heap.h"
#include "kernel/mmap.h"
#include "kernel/vmm.h"
diff --git a/sources/libs/bal/abi/helpers.c b/sources/libs/bal/abi/helpers.c
index 84973bea..eb63749c 100644
--- a/sources/libs/bal/abi/helpers.c
+++ b/sources/libs/bal/abi/helpers.c
@@ -1,5 +1,5 @@
#include <bal/abi/helpers.h>
-#include <brutal/debug/locked.h>
+#include <bruwutal/debug/locked.h>
char const *br_syscall_to_string(BrSyscall syscall)
{
diff --git a/sources/libs/bal/abi/types.h b/sources/libs/bal/abi/types.h
index 07b9a23d..df5b17c3 100644
--- a/sources/libs/bal/abi/types.h
+++ b/sources/libs/bal/abi/types.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/range.h>
-#include <brutal/time.h>
+#include <bruwutal/base/range.h>
+#include <bruwutal/time.h>
/* --- Syscalls IDs --------------------------------------------------------- */
diff --git a/sources/libs/bal/abi/wrappers.c b/sources/libs/bal/abi/wrappers.c
index 1f0fef4b..431f2700 100644
--- a/sources/libs/bal/abi/wrappers.c
+++ b/sources/libs/bal/abi/wrappers.c
@@ -1,6 +1,6 @@
#include <bal/abi/syscalls.h>
#include <bal/abi/wrappers.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
BrResult bal_unmap(BrHandle space, void *base, size_t len)
{
diff --git a/sources/libs/bal/boot/handover.c b/sources/libs/bal/boot/handover.c
index 43185255..6707abcb 100644
--- a/sources/libs/bal/boot/handover.c
+++ b/sources/libs/bal/boot/handover.c
@@ -1,6 +1,6 @@
#include <bal/boot/handover.h>
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
HandoverModule const *handover_find_module(Handover const *handover, Str name)
{
diff --git a/sources/libs/bal/boot/handover.h b/sources/libs/bal/boot/handover.h
index fe784b0f..275988f5 100644
--- a/sources/libs/bal/boot/handover.h
+++ b/sources/libs/bal/boot/handover.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text.h>
+#include <bruwutal/text.h>
// "handover" in ascii
#define HANDOVER_TAG 0x68616e646f766572
diff --git a/sources/libs/bal/hw/fb.h b/sources/libs/bal/hw/fb.h
index cddb8de9..b2ca20ab 100644
--- a/sources/libs/bal/hw/fb.h
+++ b/sources/libs/bal/hw/fb.h
@@ -1,7 +1,7 @@
#pragma once
#include <bal/hw/mem.h>
-#include <brutal/gfx/buf.h>
+#include <bruwutal/gfx/buf.h>
typedef struct
{
diff --git a/sources/libs/bal/hw/io.c b/sources/libs/bal/hw/io.c
index 7ecd4587..e90e2fa4 100644
--- a/sources/libs/bal/hw/io.c
+++ b/sources/libs/bal/hw/io.c
@@ -1,7 +1,7 @@
#include <bal/abi.h>
#include <bal/hw/io.h>
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
BalIo bal_io_mem(BalMem *mem)
{
diff --git a/sources/libs/bal/hw/io.h b/sources/libs/bal/hw/io.h
index a69f2eb3..e8b91641 100644
--- a/sources/libs/bal/hw/io.h
+++ b/sources/libs/bal/hw/io.h
@@ -1,7 +1,7 @@
#pragma once
#include <bal/hw/mem.h>
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef enum
{
diff --git a/sources/libs/bal/hw/mem.c b/sources/libs/bal/hw/mem.c
index d21813be..52259bb8 100644
--- a/sources/libs/bal/hw/mem.c
+++ b/sources/libs/bal/hw/mem.c
@@ -1,6 +1,6 @@
#include <bal/hw/mem.h>
-#include <brutal/base.h>
-#include <brutal/debug.h>
+#include <bruwutal/base.h>
+#include <bruwutal/debug.h>
MaybeError bal_mem_init_mobj(BalMem *self, BrHandle handle)
{
diff --git a/sources/libs/bal/hw/mem.h b/sources/libs/bal/hw/mem.h
index dac3f1d1..0a2a76d6 100644
--- a/sources/libs/bal/hw/mem.h
+++ b/sources/libs/bal/hw/mem.h
@@ -1,8 +1,8 @@
#pragma once
#include <bal/abi.h>
-#include <brutal/base.h>
-#include <brutal/text.h>
+#include <bruwutal/base.h>
+#include <bruwutal/text.h>
#include <ipc/pack.h>
#include <ipc/unpack.h>
diff --git a/sources/libs/bal/task/exec.c b/sources/libs/bal/task/exec.c
index e26c8ce9..55fb2fdb 100644
--- a/sources/libs/bal/task/exec.c
+++ b/sources/libs/bal/task/exec.c
@@ -1,6 +1,6 @@
#include <bal/abi.h>
#include <bal/task/task.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <elf/elf.h>
static void bal_exec_load(BrHandle space, Elf64Header const *elf_header, BrHandle elf_memory)
diff --git a/sources/libs/brutal/alloc.h b/sources/libs/brutal/alloc.h
deleted file mode 100644
index 6c7036cf..00000000
--- a/sources/libs/brutal/alloc.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/alloc/base.h>
-#include <brutal/alloc/global.h>
-#include <brutal/alloc/heap.h>
-#include <brutal/alloc/pool.h>
diff --git a/sources/libs/brutal/base.h b/sources/libs/brutal/base.h
deleted file mode 100644
index ef1add2b..00000000
--- a/sources/libs/brutal/base.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-
-#include <brutal/base/attributes.h>
-#include <brutal/base/banned.h>
-#include <brutal/base/cast.h>
-#include <brutal/base/count.h>
-#include <brutal/base/defs.h>
-#include <brutal/base/endian.h>
-#include <brutal/base/error.h>
-#include <brutal/base/iter.h>
-#include <brutal/base/keywords.h>
-#include <brutal/base/macros.h>
-#include <brutal/base/range.h>
-#include <brutal/base/result.h>
-#include <brutal/base/slice.h>
-#include <brutal/base/std.h>
-#include <brutal/base/types.h>
-#include <brutal/base/vaopt.h>
diff --git a/sources/libs/brutal/debug.h b/sources/libs/brutal/debug.h
deleted file mode 100644
index beb044da..00000000
--- a/sources/libs/brutal/debug.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/debug/assert.h>
-#include <brutal/debug/locked.h>
-#include <brutal/debug/unlocked.h>
diff --git a/sources/libs/brutal/ds.h b/sources/libs/brutal/ds.h
deleted file mode 100644
index 5e8a89d8..00000000
--- a/sources/libs/brutal/ds.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/ds/bits.h>
-#include <brutal/ds/map.h>
-#include <brutal/ds/range.h>
-#include <brutal/ds/ring.h>
-#include <brutal/ds/slot.h>
-#include <brutal/ds/vec.h>
diff --git a/sources/libs/brutal/fibers.h b/sources/libs/brutal/fibers.h
deleted file mode 100644
index f5b80a26..00000000
--- a/sources/libs/brutal/fibers.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/fibers/fibers.h>
diff --git a/sources/libs/brutal/gfx.h b/sources/libs/brutal/gfx.h
deleted file mode 100644
index ec0726d7..00000000
--- a/sources/libs/brutal/gfx.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/gfx/buf.h>
-#include <brutal/gfx/color.h>
-#include <brutal/gfx/dirty.h>
-#include <brutal/gfx/fmt.h>
-#include <brutal/gfx/gfx.h>
-#include <brutal/gfx/ops.h>
-#include <brutal/gfx/paint.h>
-#include <brutal/gfx/path.h>
diff --git a/sources/libs/brutal/hash.h b/sources/libs/brutal/hash.h
deleted file mode 100644
index 71fc7b40..00000000
--- a/sources/libs/brutal/hash.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/hash/fnv.h>
diff --git a/sources/libs/brutal/input.h b/sources/libs/brutal/input.h
deleted file mode 100644
index 579e7392..00000000
--- a/sources/libs/brutal/input.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/input/keyboard.h>
-#include <brutal/input/mouse.h>
diff --git a/sources/libs/brutal/io.h b/sources/libs/brutal/io.h
deleted file mode 100644
index e1fd40a9..00000000
--- a/sources/libs/brutal/io.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/io/buf.h>
-#include <brutal/io/emit.h>
-#include <brutal/io/file.h>
-#include <brutal/io/fmt.h>
-#include <brutal/io/funcs.h>
-#include <brutal/io/std.h>
diff --git a/sources/libs/brutal/math.h b/sources/libs/brutal/math.h
deleted file mode 100644
index 65881cab..00000000
--- a/sources/libs/brutal/math.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/math/easing.h>
-#include <brutal/math/edge.h>
-#include <brutal/math/funcs.h>
-#include <brutal/math/rand.h>
-#include <brutal/math/rect.h>
-#include <brutal/math/trans2.h>
-#include <brutal/math/vec2.h>
diff --git a/sources/libs/brutal/mem.h b/sources/libs/brutal/mem.h
deleted file mode 100644
index 61f907b0..00000000
--- a/sources/libs/brutal/mem.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/mem/const.h>
-#include <brutal/mem/pages.h>
-#include <brutal/mem/units.h>
-#include <brutal/mem/volatile.h>
diff --git a/sources/libs/brutal/parse.h b/sources/libs/brutal/parse.h
deleted file mode 100644
index d55a3b79..00000000
--- a/sources/libs/brutal/parse.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/parse/lex.h>
-#include <brutal/parse/nums.h>
-#include <brutal/parse/scan.h>
diff --git a/sources/libs/brutal/sync.h b/sources/libs/brutal/sync.h
deleted file mode 100644
index 12714315..00000000
--- a/sources/libs/brutal/sync.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/sync/lock.h>
-#include <brutal/sync/ref.h>
-#include <brutal/sync/rwlock.h>
diff --git a/sources/libs/brutal/task.h b/sources/libs/brutal/task.h
deleted file mode 100644
index a35d67c7..00000000
--- a/sources/libs/brutal/task.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/task/task.h>
diff --git a/sources/libs/brutal/text.h b/sources/libs/brutal/text.h
deleted file mode 100644
index 912dcfc8..00000000
--- a/sources/libs/brutal/text.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/text/case.h>
-#include <brutal/text/cp437.h>
-#include <brutal/text/fmt.h>
-#include <brutal/text/glob.h>
-#include <brutal/text/rune.h>
-#include <brutal/text/str.h>
-#include <brutal/text/string.h>
-#include <brutal/text/utf16.h>
-#include <brutal/text/utf8.h>
-#include <brutal/text/vals.h>
-#include <brutal/text/witty.h>
diff --git a/sources/libs/brutal/text/rune.h b/sources/libs/brutal/text/rune.h
deleted file mode 100644
index a9ea8bbb..00000000
--- a/sources/libs/brutal/text/rune.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#pragma once
-
-#include <brutal/base/std.h>
-#include <brutal/text/str.h>
-
-typedef uint32_t Rune;
diff --git a/sources/libs/brutal/time.h b/sources/libs/brutal/time.h
deleted file mode 100644
index 0a236d17..00000000
--- a/sources/libs/brutal/time.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/time/convert.h>
-#include <brutal/time/query.h>
-#include <brutal/time/types.h>
diff --git a/sources/libs/brutal/ui.h b/sources/libs/brutal/ui.h
deleted file mode 100644
index 7fc1db17..00000000
--- a/sources/libs/brutal/ui.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-
-#include <brutal/base.h>
-/* --- */
-#include <brutal/ui/app.h>
-#include <brutal/ui/color.h>
-#include <brutal/ui/event.h>
-#include <brutal/ui/font.h>
-#include <brutal/ui/parser.h>
-#include <brutal/ui/view.h>
-#include <brutal/ui/win.h>
-/* --- */
-#include <brutal/ui/button.h>
-#include <brutal/ui/frame.h>
-#include <brutal/ui/icon.h>
-#include <brutal/ui/image.h>
-#include <brutal/ui/panel.h>
-#include <brutal/ui/slider.h>
-#include <brutal/ui/spacer.h>
-#include <brutal/ui/splitter.h>
-#include <brutal/ui/switch.h>
-#include <brutal/ui/text.h>
diff --git a/sources/libs/brutal/ui/event.c b/sources/libs/brutal/ui/event.c
deleted file mode 100644
index 8327b3b0..00000000
--- a/sources/libs/brutal/ui/event.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <brutal/ui/event.h>
diff --git a/sources/libs/bruwutal/alloc.h b/sources/libs/bruwutal/alloc.h
new file mode 100644
index 00000000..c40cf9dc
--- /dev/null
+++ b/sources/libs/bruwutal/alloc.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/alloc/heap.h>
+#include <bruwutal/alloc/pool.h>
diff --git a/sources/libs/brutal/alloc/base.c b/sources/libs/bruwutal/alloc/base.c
index 1a02f7f1..661108a5 100644
--- a/sources/libs/brutal/alloc/base.c
+++ b/sources/libs/bruwutal/alloc/base.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/base.h>
-#include <brutal/base/attributes.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/base/attributes.h>
void *alloc_malloc(Alloc *self, size_t size)
{
diff --git a/sources/libs/brutal/alloc/base.h b/sources/libs/bruwutal/alloc/base.h
index 0b604f18..454b24f4 100644
--- a/sources/libs/brutal/alloc/base.h
+++ b/sources/libs/bruwutal/alloc/base.h
@@ -1,10 +1,10 @@
#pragma once
-#include <brutal/base/macros.h>
-#include <brutal/base/std.h>
-#include <brutal/mem/const.h>
-#include <brutal/mem/funcs.h>
-#include <brutal/mem/units.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/mem/const.h>
+#include <bruwutal/mem/funcs.h>
+#include <bruwutal/mem/units.h>
typedef struct _Alloc Alloc;
diff --git a/sources/libs/brutal/alloc/global.c b/sources/libs/bruwutal/alloc/global.c
index d4d222d5..38110057 100644
--- a/sources/libs/brutal/alloc/global.c
+++ b/sources/libs/bruwutal/alloc/global.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc/heap.h>
+#include <bruwutal/alloc/heap.h>
#include <embed/mem.h>
static Alloc *heap(void)
diff --git a/sources/libs/brutal/alloc/global.h b/sources/libs/bruwutal/alloc/global.h
index d5af9c04..efe927c2 100644
--- a/sources/libs/brutal/alloc/global.h
+++ b/sources/libs/bruwutal/alloc/global.h
@@ -1,5 +1,5 @@
#pragma once
-#include <brutal/alloc/base.h>
+#include <bruwutal/alloc/base.h>
Alloc *alloc_global(void);
diff --git a/sources/libs/brutal/alloc/heap.c b/sources/libs/bruwutal/alloc/heap.c
index 4527bde9..50438de8 100644
--- a/sources/libs/brutal/alloc/heap.c
+++ b/sources/libs/bruwutal/alloc/heap.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/heap.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc/heap.h>
+#include <bruwutal/debug.h>
#include <embed/mem.h>
#define ALLOC_HEAP_ALIGN (64)
diff --git a/sources/libs/brutal/alloc/heap.h b/sources/libs/bruwutal/alloc/heap.h
index fb75c448..d69057f8 100644
--- a/sources/libs/brutal/alloc/heap.h
+++ b/sources/libs/bruwutal/alloc/heap.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/alloc/base.h>
+#include <bruwutal/alloc/base.h>
typedef struct _HeapMajor HeapMajor;
typedef struct _HeapMinor HeapMinor;
diff --git a/sources/libs/brutal/alloc/pool.c b/sources/libs/bruwutal/alloc/pool.c
index 362c4450..6788f853 100644
--- a/sources/libs/brutal/alloc/pool.c
+++ b/sources/libs/bruwutal/alloc/pool.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/pool.h>
-#include <brutal/debug/locked.h>
+#include <bruwutal/alloc/pool.h>
+#include <bruwutal/debug/locked.h>
void pool_init(Pool *self, PoolCtorFn *ctor, PoolDtorFn *dtor, Alloc *alloc)
{
diff --git a/sources/libs/brutal/alloc/pool.h b/sources/libs/bruwutal/alloc/pool.h
index 04cf37f0..12f02993 100644
--- a/sources/libs/brutal/alloc/pool.h
+++ b/sources/libs/bruwutal/alloc/pool.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
typedef void *PoolCtorFn(Alloc *alloc);
typedef void PoolDtorFn(Alloc *alloc, void *obj);
diff --git a/sources/libs/bruwutal/base.h b/sources/libs/bruwutal/base.h
new file mode 100644
index 00000000..b89d3f77
--- /dev/null
+++ b/sources/libs/bruwutal/base.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/banned.h>
+#include <bruwutal/base/cast.h>
+#include <bruwutal/base/count.h>
+#include <bruwutal/base/defs.h>
+#include <bruwutal/base/endian.h>
+#include <bruwutal/base/error.h>
+#include <bruwutal/base/iter.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/range.h>
+#include <bruwutal/base/result.h>
+#include <bruwutal/base/slice.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/base/types.h>
+#include <bruwutal/base/vaopt.h>
diff --git a/sources/libs/brutal/base/any.h b/sources/libs/bruwutal/base/any.h
index 520a0ee2..6629d841 100644
--- a/sources/libs/brutal/base/any.h
+++ b/sources/libs/bruwutal/base/any.h
@@ -1,11 +1,11 @@
#pragma once
-#include <brutal/base/count.h>
-#include <brutal/base/macros.h>
-#include <brutal/base/map.h>
-#include <brutal/base/std.h>
-#include <brutal/base/vaopt.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/count.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/map.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/base/vaopt.h>
+#include <bruwutal/text/str.h>
typedef enum
{
diff --git a/sources/libs/brutal/base/attributes.h b/sources/libs/bruwutal/base/attributes.h
index 561299b3..561299b3 100644
--- a/sources/libs/brutal/base/attributes.h
+++ b/sources/libs/bruwutal/base/attributes.h
diff --git a/sources/libs/brutal/base/banned.h b/sources/libs/bruwutal/base/banned.h
index f8d7ae52..f8d7ae52 100644
--- a/sources/libs/brutal/base/banned.h
+++ b/sources/libs/bruwutal/base/banned.h
diff --git a/sources/libs/brutal/base/cast.h b/sources/libs/bruwutal/base/cast.h
index 3c0b8884..3c0b8884 100644
--- a/sources/libs/brutal/base/cast.h
+++ b/sources/libs/bruwutal/base/cast.h
diff --git a/sources/libs/brutal/base/count.h b/sources/libs/bruwutal/base/count.h
index 874bfc22..874bfc22 100644
--- a/sources/libs/brutal/base/count.h
+++ b/sources/libs/bruwutal/base/count.h
diff --git a/sources/libs/brutal/base/defs.h b/sources/libs/bruwutal/base/defs.h
index 42e80d97..f06f12fa 100644
--- a/sources/libs/brutal/base/defs.h
+++ b/sources/libs/bruwutal/base/defs.h
@@ -17,8 +17,8 @@
/* --- System --------------------------------------------------------------- */
-#if defined(__brutal__)
-# define SYSTEM_BRUTAL
+#if defined(__bruwutal__)
+# define SYSTEM_bruwutal
# if defined(__kernel__)
# define SYSTEM_KERNEL
# endif
diff --git a/sources/libs/brutal/base/endian.h b/sources/libs/bruwutal/base/endian.h
index f0404bd1..dd2df981 100644
--- a/sources/libs/brutal/base/endian.h
+++ b/sources/libs/bruwutal/base/endian.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/keywords.h>
-#include <brutal/base/macros.h>
-#include <brutal/base/std.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/std.h>
// x+0 is for removing the const qualifier
diff --git a/sources/libs/brutal/base/error.h b/sources/libs/bruwutal/base/error.h
index 2ff2d441..4830db81 100644
--- a/sources/libs/brutal/base/error.h
+++ b/sources/libs/bruwutal/base/error.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/result.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/result.h>
+#include <bruwutal/text/str.h>
typedef enum
{
diff --git a/sources/libs/brutal/base/iter.h b/sources/libs/bruwutal/base/iter.h
index ce8ce6d5..ce8ce6d5 100644
--- a/sources/libs/brutal/base/iter.h
+++ b/sources/libs/bruwutal/base/iter.h
diff --git a/sources/libs/brutal/base/keywords.h b/sources/libs/bruwutal/base/keywords.h
index c9f79770..c9f79770 100644
--- a/sources/libs/brutal/base/keywords.h
+++ b/sources/libs/bruwutal/base/keywords.h
diff --git a/sources/libs/brutal/base/macros.h b/sources/libs/bruwutal/base/macros.h
index 00373c0d..00373c0d 100644
--- a/sources/libs/brutal/base/macros.h
+++ b/sources/libs/bruwutal/base/macros.h
diff --git a/sources/libs/brutal/base/map.h b/sources/libs/bruwutal/base/map.h
index 70564ba7..70564ba7 100644
--- a/sources/libs/brutal/base/map.h
+++ b/sources/libs/bruwutal/base/map.h
diff --git a/sources/libs/brutal/base/range.h b/sources/libs/bruwutal/base/range.h
index a3c961c6..7de63399 100644
--- a/sources/libs/brutal/base/range.h
+++ b/sources/libs/bruwutal/base/range.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/macros.h>
-#include <brutal/base/std.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/math/clamp.h>
#define Range(T) \
struct \
diff --git a/sources/libs/brutal/base/result.h b/sources/libs/bruwutal/base/result.h
index 49184e52..03caa07c 100644
--- a/sources/libs/brutal/base/result.h
+++ b/sources/libs/bruwutal/base/result.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/keywords.h>
-#include <brutal/base/std.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/std.h>
#define Result(ERROR, OK) \
struct \
diff --git a/sources/libs/brutal/base/slice.h b/sources/libs/bruwutal/base/slice.h
index 3fe3bffb..7336bcf0 100644
--- a/sources/libs/brutal/base/slice.h
+++ b/sources/libs/bruwutal/base/slice.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
typedef struct
{
diff --git a/sources/libs/brutal/base/std.h b/sources/libs/bruwutal/base/std.h
index a8f744b2..a8f744b2 100644
--- a/sources/libs/brutal/base/std.h
+++ b/sources/libs/bruwutal/base/std.h
diff --git a/sources/libs/brutal/base/types.h b/sources/libs/bruwutal/base/types.h
index d5ce24b4..d5ce24b4 100644
--- a/sources/libs/brutal/base/types.h
+++ b/sources/libs/bruwutal/base/types.h
diff --git a/sources/libs/brutal/base/vaopt.h b/sources/libs/bruwutal/base/vaopt.h
index 55a45b4b..55a45b4b 100644
--- a/sources/libs/brutal/base/vaopt.h
+++ b/sources/libs/bruwutal/base/vaopt.h
diff --git a/sources/libs/brutal/codec/deflate/constants.h b/sources/libs/bruwutal/codec/deflate/constants.h
index dffc84e0..dffc84e0 100644
--- a/sources/libs/brutal/codec/deflate/constants.h
+++ b/sources/libs/bruwutal/codec/deflate/constants.h
diff --git a/sources/libs/brutal/codec/deflate/deflate.c b/sources/libs/bruwutal/codec/deflate/deflate.c
index 362e78bb..80250154 100644
--- a/sources/libs/brutal/codec/deflate/deflate.c
+++ b/sources/libs/bruwutal/codec/deflate/deflate.c
@@ -1,7 +1,7 @@
-#include <brutal/base/attributes.h>
-#include <brutal/codec/deflate/constants.h>
-#include <brutal/codec/deflate/deflate.h>
-#include <brutal/io/mem.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/codec/deflate/constants.h>
+#include <bruwutal/codec/deflate/deflate.h>
+#include <bruwutal/io/mem.h>
// Block compressions
IoResult deflate_compress_block_uncompressed(DeflateCompressor *ctx, uint8_t const *in, size_t in_nbytes, bool last);
diff --git a/sources/libs/brutal/codec/deflate/deflate.h b/sources/libs/bruwutal/codec/deflate/deflate.h
index f1c43d93..47734e36 100644
--- a/sources/libs/brutal/codec/deflate/deflate.h
+++ b/sources/libs/bruwutal/codec/deflate/deflate.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/wbits.h>
+#include <bruwutal/io/wbits.h>
typedef struct _DeflateCompressor
{
diff --git a/sources/libs/brutal/codec/deflate/errors.h b/sources/libs/bruwutal/codec/deflate/errors.h
index 1699d7bf..1699d7bf 100644
--- a/sources/libs/brutal/codec/deflate/errors.h
+++ b/sources/libs/bruwutal/codec/deflate/errors.h
diff --git a/sources/libs/brutal/codec/deflate/huff.h b/sources/libs/bruwutal/codec/deflate/huff.h
index aa543166..501ebdcc 100644
--- a/sources/libs/brutal/codec/deflate/huff.h
+++ b/sources/libs/bruwutal/codec/deflate/huff.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/rbits.h>
+#include <bruwutal/io/rbits.h>
typedef struct
{
diff --git a/sources/libs/brutal/codec/deflate/inflate.c b/sources/libs/bruwutal/codec/deflate/inflate.c
index 762ea8c4..5ecd770d 100644
--- a/sources/libs/brutal/codec/deflate/inflate.c
+++ b/sources/libs/bruwutal/codec/deflate/inflate.c
@@ -1,12 +1,12 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/deflate/constants.h>
-#include <brutal/codec/deflate/errors.h>
-#include <brutal/codec/deflate/huff.h>
-#include <brutal/codec/deflate/inflate.h>
-#include <brutal/debug/assert.h>
-#include <brutal/io/mem.h>
-#include <brutal/io/rbits.h>
-#include <brutal/io/window.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/deflate/constants.h>
+#include <bruwutal/codec/deflate/errors.h>
+#include <bruwutal/codec/deflate/huff.h>
+#include <bruwutal/codec/deflate/inflate.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/io/mem.h>
+#include <bruwutal/io/rbits.h>
+#include <bruwutal/io/window.h>
static const uint16_t LENS_BASE[30] = {/* Length codes 257..285 base */
3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,
diff --git a/sources/libs/brutal/codec/deflate/inflate.h b/sources/libs/bruwutal/codec/deflate/inflate.h
index c9ede849..4b465f47 100644
--- a/sources/libs/brutal/codec/deflate/inflate.h
+++ b/sources/libs/bruwutal/codec/deflate/inflate.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
/**
@brief Decompress a raw deflate stream
diff --git a/sources/libs/brutal/codec/errors.h b/sources/libs/bruwutal/codec/errors.h
index 1e26e1ae..1e26e1ae 100644
--- a/sources/libs/brutal/codec/errors.h
+++ b/sources/libs/bruwutal/codec/errors.h
diff --git a/sources/libs/brutal/codec/gzip/gzip.c b/sources/libs/bruwutal/codec/gzip/gzip.c
index bc2b0873..7c60ae5c 100644
--- a/sources/libs/brutal/codec/gzip/gzip.c
+++ b/sources/libs/bruwutal/codec/gzip/gzip.c
@@ -1,11 +1,11 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/deflate/deflate.h>
-#include <brutal/codec/deflate/inflate.h>
-#include <brutal/codec/errors.h>
-#include <brutal/codec/gzip/gzip.h>
-#include <brutal/debug.h>
-#include <brutal/hash/crc32.h>
-#include <brutal/io/mem.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/deflate/deflate.h>
+#include <bruwutal/codec/deflate/inflate.h>
+#include <bruwutal/codec/errors.h>
+#include <bruwutal/codec/gzip/gzip.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/hash/crc32.h>
+#include <bruwutal/io/mem.h>
typedef enum
{
diff --git a/sources/libs/brutal/codec/gzip/gzip.h b/sources/libs/bruwutal/codec/gzip/gzip.h
index db9ce5e0..97dbc72f 100644
--- a/sources/libs/brutal/codec/gzip/gzip.h
+++ b/sources/libs/bruwutal/codec/gzip/gzip.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
/**
@brief Decompress a gzip deflate stream
diff --git a/sources/libs/brutal/codec/ssfn2/spec.h b/sources/libs/bruwutal/codec/ssfn2/spec.h
index ec6d66d3..f077970c 100644
--- a/sources/libs/brutal/codec/ssfn2/spec.h
+++ b/sources/libs/bruwutal/codec/ssfn2/spec.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#define SSFN2_MAGIC str$("SFN2")
#define SSFN2_COLLECTION str$("SFNC")
diff --git a/sources/libs/brutal/codec/ssfn2/ssfn2.c b/sources/libs/bruwutal/codec/ssfn2/ssfn2.c
index f65af757..bfb73006 100644
--- a/sources/libs/brutal/codec/ssfn2/ssfn2.c
+++ b/sources/libs/bruwutal/codec/ssfn2/ssfn2.c
@@ -1,8 +1,8 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/gzip/gzip.h>
-#include <brutal/codec/ssfn2/ssfn2.h>
-#include <brutal/debug.h>
-#include <brutal/gfx.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/gzip/gzip.h>
+#include <bruwutal/codec/ssfn2/ssfn2.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/gfx.h>
static MaybeError ssfn2_load_string(IoReader reader, char *dst)
{
diff --git a/sources/libs/brutal/codec/ssfn2/ssfn2.h b/sources/libs/bruwutal/codec/ssfn2/ssfn2.h
index 3c4bfd97..1416b2a5 100644
--- a/sources/libs/brutal/codec/ssfn2/ssfn2.h
+++ b/sources/libs/bruwutal/codec/ssfn2/ssfn2.h
@@ -1,9 +1,9 @@
#pragma once
-#include <brutal/codec/ssfn2/spec.h>
-#include <brutal/ds.h>
-#include <brutal/gfx.h>
-#include <brutal/io.h>
+#include <bruwutal/codec/ssfn2/spec.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/gfx.h>
+#include <bruwutal/io.h>
typedef struct
{
diff --git a/sources/libs/brutal/codec/tga/tga.c b/sources/libs/bruwutal/codec/tga/tga.c
index a2db8162..0737931e 100644
--- a/sources/libs/brutal/codec/tga/tga.c
+++ b/sources/libs/bruwutal/codec/tga/tga.c
@@ -1,4 +1,4 @@
-#include <brutal/codec/tga/tga.h>
+#include <bruwutal/codec/tga/tga.h>
IoResult tga_encode(IoWriter writer, GfxBuf surface)
{
diff --git a/sources/libs/brutal/codec/tga/tga.h b/sources/libs/bruwutal/codec/tga/tga.h
index 57faaf5d..d1baf1cc 100644
--- a/sources/libs/brutal/codec/tga/tga.h
+++ b/sources/libs/bruwutal/codec/tga/tga.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/gfx/buf.h>
-#include <brutal/io.h>
+#include <bruwutal/gfx/buf.h>
+#include <bruwutal/io.h>
// using http://tfc.duke.free.fr/coding/tga_specs.pdf
diff --git a/sources/libs/brutal/codec/zlib/zlib.c b/sources/libs/bruwutal/codec/zlib/zlib.c
index 8eea16d1..aa08d286 100644
--- a/sources/libs/brutal/codec/zlib/zlib.c
+++ b/sources/libs/bruwutal/codec/zlib/zlib.c
@@ -1,8 +1,8 @@
-#include <brutal/codec/deflate/inflate.h>
-#include <brutal/codec/errors.h>
-#include <brutal/codec/zlib/zlib.h>
-#include <brutal/hash/adler32.h>
-#include <brutal/io/mem.h>
+#include <bruwutal/codec/deflate/inflate.h>
+#include <bruwutal/codec/errors.h>
+#include <bruwutal/codec/zlib/zlib.h>
+#include <bruwutal/hash/adler32.h>
+#include <bruwutal/io/mem.h>
IoResult zlib_decompress_data(const uint8_t *in, size_t in_len, uint8_t *out, size_t out_len)
{
diff --git a/sources/libs/brutal/codec/zlib/zlib.h b/sources/libs/bruwutal/codec/zlib/zlib.h
index c6086325..5ae98fe1 100644
--- a/sources/libs/brutal/codec/zlib/zlib.h
+++ b/sources/libs/bruwutal/codec/zlib/zlib.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
/**
@brief Decompress a zlib deflate stream
diff --git a/sources/libs/bruwutal/debug.h b/sources/libs/bruwutal/debug.h
new file mode 100644
index 00000000..bf7d5f35
--- /dev/null
+++ b/sources/libs/bruwutal/debug.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/debug/unlocked.h>
diff --git a/sources/libs/brutal/debug/assert.h b/sources/libs/bruwutal/debug/assert.h
index 42b08250..76915b5b 100644
--- a/sources/libs/brutal/debug/assert.h
+++ b/sources/libs/bruwutal/debug/assert.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/attributes.h>
-#include <brutal/debug/locked.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/debug/locked.h>
#define assert_not_null(EXPR) ( \
{ \
diff --git a/sources/libs/brutal/debug/locked.h b/sources/libs/bruwutal/debug/locked.h
index bc780154..850ec22c 100644
--- a/sources/libs/brutal/debug/locked.h
+++ b/sources/libs/bruwutal/debug/locked.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/any.h>
-#include <brutal/debug/log.h>
-#include <brutal/debug/source_location.h>
+#include <bruwutal/base/any.h>
+#include <bruwutal/debug/log.h>
+#include <bruwutal/debug/source_location.h>
/* --- Locked log functions ------------------------------------------------- */
diff --git a/sources/libs/brutal/debug/log.c b/sources/libs/bruwutal/debug/log.c
index ae4e9a9c..557261b3 100644
--- a/sources/libs/brutal/debug/log.c
+++ b/sources/libs/bruwutal/debug/log.c
@@ -1,5 +1,5 @@
#include <bal/abi.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/debug.h>
#include <embed/log.h>
diff --git a/sources/libs/brutal/debug/log.h b/sources/libs/bruwutal/debug/log.h
index 7f4bbdbd..7f4bbdbd 100644
--- a/sources/libs/brutal/debug/log.h
+++ b/sources/libs/bruwutal/debug/log.h
diff --git a/sources/libs/brutal/debug/source_location.h b/sources/libs/bruwutal/debug/source_location.h
index afac0adb..0def803a 100644
--- a/sources/libs/brutal/debug/source_location.h
+++ b/sources/libs/bruwutal/debug/source_location.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text/str.h>
+#include <bruwutal/text/str.h>
typedef struct
{
diff --git a/sources/libs/brutal/debug/unlocked.h b/sources/libs/bruwutal/debug/unlocked.h
index 6357f5a9..d8f1111e 100644
--- a/sources/libs/brutal/debug/unlocked.h
+++ b/sources/libs/bruwutal/debug/unlocked.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/any.h>
-#include <brutal/debug/log.h>
-#include <brutal/debug/source_location.h>
+#include <bruwutal/base/any.h>
+#include <bruwutal/debug/log.h>
+#include <bruwutal/debug/source_location.h>
/* --- Unlocked log functions ----------------------------------------------- */
diff --git a/sources/libs/bruwutal/ds.h b/sources/libs/bruwutal/ds.h
new file mode 100644
index 00000000..a8c804f0
--- /dev/null
+++ b/sources/libs/bruwutal/ds.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/ds/bits.h>
+#include <bruwutal/ds/map.h>
+#include <bruwutal/ds/range.h>
+#include <bruwutal/ds/ring.h>
+#include <bruwutal/ds/slot.h>
+#include <bruwutal/ds/vec.h>
diff --git a/sources/libs/brutal/ds/bits.c b/sources/libs/bruwutal/ds/bits.c
index d0bf4741..c687410a 100644
--- a/sources/libs/brutal/ds/bits.c
+++ b/sources/libs/bruwutal/ds/bits.c
@@ -1,6 +1,6 @@
-#include <brutal/debug.h>
-#include <brutal/ds/bits.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ds/bits.h>
+#include <bruwutal/mem.h>
void bits_init(Bits *self, void *data, size_t size)
{
diff --git a/sources/libs/brutal/ds/bits.h b/sources/libs/bruwutal/ds/bits.h
index 5c1ceef3..afd38df6 100644
--- a/sources/libs/brutal/ds/bits.h
+++ b/sources/libs/bruwutal/ds/bits.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/range.h>
-#include <brutal/base/std.h>
+#include <bruwutal/base/range.h>
+#include <bruwutal/base/std.h>
#define BITS_BYTE_INDEX(index) ((index) / 8)
#define BITS_BIT_INDEX(index) ((index) % 8)
diff --git a/sources/libs/brutal/ds/map.c b/sources/libs/bruwutal/ds/map.c
index 799ac702..2c0447ef 100644
--- a/sources/libs/brutal/ds/map.c
+++ b/sources/libs/bruwutal/ds/map.c
@@ -1,5 +1,5 @@
-#include <brutal/ds/map.h>
-#include <brutal/hash/fnv.h>
+#include <bruwutal/ds/map.h>
+#include <bruwutal/hash/fnv.h>
static uint32_t map_hash(Str key)
{
diff --git a/sources/libs/brutal/ds/map.h b/sources/libs/bruwutal/ds/map.h
index a254c799..4c4a649c 100644
--- a/sources/libs/brutal/ds/map.h
+++ b/sources/libs/bruwutal/ds/map.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds/vec.h>
-#include <brutal/text/str.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/text/str.h>
#define MAP_BUCKET_COUNT (512)
diff --git a/sources/libs/brutal/ds/range.c b/sources/libs/bruwutal/ds/range.c
index 87b35710..640abb1e 100644
--- a/sources/libs/brutal/ds/range.c
+++ b/sources/libs/bruwutal/ds/range.c
@@ -1,5 +1,5 @@
-#include <brutal/debug/locked.h>
-#include <brutal/ds/range.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/ds/range.h>
void range_alloc_init(RangeAlloc *self, Alloc *alloc)
{
diff --git a/sources/libs/brutal/ds/range.h b/sources/libs/bruwutal/ds/range.h
index fe9ae9c3..29bcfaac 100644
--- a/sources/libs/brutal/ds/range.h
+++ b/sources/libs/bruwutal/ds/range.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/base/range.h>
-#include <brutal/ds/vec.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/base/range.h>
+#include <bruwutal/ds/vec.h>
typedef Vec(USizeRange) RangeAlloc;
diff --git a/sources/libs/brutal/ds/ring.c b/sources/libs/bruwutal/ds/ring.c
index 915ed025..2f7ef10d 100644
--- a/sources/libs/brutal/ds/ring.c
+++ b/sources/libs/bruwutal/ds/ring.c
@@ -1,4 +1,4 @@
-#include <brutal/ds/ring.h>
+#include <bruwutal/ds/ring.h>
void ring_init_impl(RingImpl *impl, int capacity, int data_size, Alloc *alloc)
{
diff --git a/sources/libs/brutal/ds/ring.h b/sources/libs/bruwutal/ds/ring.h
index 547c0576..61879518 100644
--- a/sources/libs/brutal/ds/ring.h
+++ b/sources/libs/bruwutal/ds/ring.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/base/std.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/base/std.h>
typedef struct
{
diff --git a/sources/libs/brutal/ds/slot.c b/sources/libs/bruwutal/ds/slot.c
index 39f0b08d..ed5b60a0 100644
--- a/sources/libs/brutal/ds/slot.c
+++ b/sources/libs/bruwutal/ds/slot.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc/base.h>
-#include <brutal/debug/assert.h>
-#include <brutal/ds/slot.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/ds/slot.h>
void slot_capacity_impl(SlotImpl *impl, int new_capacity)
{
diff --git a/sources/libs/brutal/ds/slot.h b/sources/libs/bruwutal/ds/slot.h
index c6423d74..7ab7883c 100644
--- a/sources/libs/brutal/ds/slot.h
+++ b/sources/libs/bruwutal/ds/slot.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef int SlotIndex;
diff --git a/sources/libs/brutal/ds/vec.c b/sources/libs/bruwutal/ds/vec.c
index c6ca26ea..301d520f 100644
--- a/sources/libs/brutal/ds/vec.c
+++ b/sources/libs/bruwutal/ds/vec.c
@@ -5,10 +5,10 @@
* under the terms of the MIT license. See LICENSE for details.
*/
-#include <brutal/base/keywords.h>
-#include <brutal/base/std.h>
-#include <brutal/ds/vec.h>
-#include <brutal/mem.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/mem.h>
void vec_init_impl(VecImpl *impl, int data_size, Alloc *alloc)
{
diff --git a/sources/libs/brutal/ds/vec.h b/sources/libs/bruwutal/ds/vec.h
index 8d144fbd..2902e78a 100644
--- a/sources/libs/brutal/ds/vec.h
+++ b/sources/libs/bruwutal/ds/vec.h
@@ -1,10 +1,10 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/base/cast.h>
-#include <brutal/base/keywords.h>
-#include <brutal/base/macros.h>
-#include <brutal/mem.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/base/cast.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/mem.h>
typedef struct
{
diff --git a/sources/libs/bruwutal/fibers.h b/sources/libs/bruwutal/fibers.h
new file mode 100644
index 00000000..9fe61e09
--- /dev/null
+++ b/sources/libs/bruwutal/fibers.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/fibers/fibers.h>
diff --git a/sources/libs/brutal/fibers/fibers.c b/sources/libs/bruwutal/fibers/fibers.c
index e709fab1..903b1597 100644
--- a/sources/libs/brutal/fibers/fibers.c
+++ b/sources/libs/bruwutal/fibers/fibers.c
@@ -1,9 +1,9 @@
-#include <brutal/alloc.h>
-#include <brutal/alloc/global.h>
-#include <brutal/debug.h>
-#include <brutal/fibers.h>
-#include <brutal/task.h>
-#include <brutal/time.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/fibers.h>
+#include <bruwutal/task.h>
+#include <bruwutal/time.h>
static Fiber *_current = nullptr;
static Pool _pool = {};
diff --git a/sources/libs/brutal/fibers/fibers.h b/sources/libs/bruwutal/fibers/fibers.h
index fc59d8b9..93e64744 100644
--- a/sources/libs/brutal/fibers/fibers.h
+++ b/sources/libs/bruwutal/fibers/fibers.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/mem/units.h>
-#include <brutal/time/types.h>
+#include <bruwutal/mem/units.h>
+#include <bruwutal/time/types.h>
#define FIBER_STACK_SIZE KiB(16)
diff --git a/sources/libs/bruwutal/gfx.h b/sources/libs/bruwutal/gfx.h
new file mode 100644
index 00000000..23b498be
--- /dev/null
+++ b/sources/libs/bruwutal/gfx.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/gfx/buf.h>
+#include <bruwutal/gfx/color.h>
+#include <bruwutal/gfx/dirty.h>
+#include <bruwutal/gfx/fmt.h>
+#include <bruwutal/gfx/gfx.h>
+#include <bruwutal/gfx/ops.h>
+#include <bruwutal/gfx/paint.h>
+#include <bruwutal/gfx/path.h>
diff --git a/sources/libs/brutal/gfx/buf.c b/sources/libs/bruwutal/gfx/buf.c
index b70a3838..f42e3d95 100644
--- a/sources/libs/brutal/gfx/buf.c
+++ b/sources/libs/bruwutal/gfx/buf.c
@@ -1,4 +1,4 @@
-#include <brutal/gfx/buf.h>
+#include <bruwutal/gfx/buf.h>
void gfx_surface_init(GfxSurface *self, int width, int height, GfxFmt format, Alloc *alloc)
{
diff --git a/sources/libs/brutal/gfx/buf.h b/sources/libs/bruwutal/gfx/buf.h
index 1629b657..14e6d956 100644
--- a/sources/libs/brutal/gfx/buf.h
+++ b/sources/libs/bruwutal/gfx/buf.h
@@ -1,9 +1,9 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/gfx/color.h>
-#include <brutal/gfx/fmt.h>
-#include <brutal/math/rect.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/gfx/color.h>
+#include <bruwutal/gfx/fmt.h>
+#include <bruwutal/math/rect.h>
typedef struct
{
diff --git a/sources/libs/brutal/gfx/color.c b/sources/libs/bruwutal/gfx/color.c
index 24fd7609..387357ac 100644
--- a/sources/libs/brutal/gfx/color.c
+++ b/sources/libs/bruwutal/gfx/color.c
@@ -1,5 +1,5 @@
-#include <brutal/gfx/color.h>
-#include <brutal/math/rand.h>
+#include <bruwutal/gfx/color.h>
+#include <bruwutal/math/rand.h>
static MRand rand;
diff --git a/sources/libs/brutal/gfx/color.h b/sources/libs/bruwutal/gfx/color.h
index 9596b5ce..305ade91 100644
--- a/sources/libs/brutal/gfx/color.h
+++ b/sources/libs/bruwutal/gfx/color.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
typedef struct
{
diff --git a/sources/libs/brutal/gfx/dirty.c b/sources/libs/bruwutal/gfx/dirty.c
index 8ab3c422..09d0468b 100644
--- a/sources/libs/brutal/gfx/dirty.c
+++ b/sources/libs/bruwutal/gfx/dirty.c
@@ -1,4 +1,4 @@
-#include <brutal/gfx/dirty.h>
+#include <bruwutal/gfx/dirty.h>
void gfx_dirty_init(GfxDirty *self, Alloc *alloc)
{
diff --git a/sources/libs/brutal/gfx/dirty.h b/sources/libs/bruwutal/gfx/dirty.h
index cf169609..b6a3d9e9 100644
--- a/sources/libs/brutal/gfx/dirty.h
+++ b/sources/libs/bruwutal/gfx/dirty.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds/vec.h>
-#include <brutal/math/rect.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/math/rect.h>
typedef Vec(MRectf) GfxDirty;
diff --git a/sources/libs/brutal/gfx/fmt.h b/sources/libs/bruwutal/gfx/fmt.h
index b68ba0ae..750b7f6e 100644
--- a/sources/libs/brutal/gfx/fmt.h
+++ b/sources/libs/bruwutal/gfx/fmt.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/attributes.h>
-#include <brutal/debug/assert.h>
-#include <brutal/gfx/color.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/gfx/color.h>
typedef enum
{
diff --git a/sources/libs/brutal/gfx/font.c b/sources/libs/bruwutal/gfx/font.c
index 25398184..89294a03 100644
--- a/sources/libs/brutal/gfx/font.c
+++ b/sources/libs/bruwutal/gfx/font.c
@@ -1,8 +1,8 @@
-#include <brutal/codec/ssfn2/ssfn2.h>
-#include <brutal/gfx/font.h>
-#include <brutal/gfx/gfx.h>
-#include <brutal/text/cp437.h>
-#include <brutal/text/utf8.h>
+#include <bruwutal/codec/ssfn2/ssfn2.h>
+#include <bruwutal/gfx/font.h>
+#include <bruwutal/gfx/gfx.h>
+#include <bruwutal/text/cp437.h>
+#include <bruwutal/text/utf8.h>
GfxFontMetrics gfx_font_metrics(GfxFont font, GfxFontStyle style)
{
diff --git a/sources/libs/brutal/gfx/font.h b/sources/libs/bruwutal/gfx/font.h
index 0883f675..4d305eaf 100644
--- a/sources/libs/brutal/gfx/font.h
+++ b/sources/libs/bruwutal/gfx/font.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/io/traits.h>
-#include <brutal/math/rect.h>
-#include <brutal/text/rune.h>
+#include <bruwutal/io/traits.h>
+#include <bruwutal/math/rect.h>
+#include <bruwutal/text/rune.h>
struct _Gfx;
diff --git a/sources/libs/brutal/gfx/gfx.c b/sources/libs/bruwutal/gfx/gfx.c
index 83b6748f..9e81a213 100644
--- a/sources/libs/brutal/gfx/gfx.c
+++ b/sources/libs/bruwutal/gfx/gfx.c
@@ -1,7 +1,7 @@
-#include <brutal/base/macros.h>
-#include <brutal/gfx/gfx.h>
-#include <brutal/gfx/ops.h>
-#include <brutal/gfx/path.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/gfx/gfx.h>
+#include <bruwutal/gfx/ops.h>
+#include <bruwutal/gfx/path.h>
#include <stdlib.h>
/* --- Lifetime ------------------------------------------------------------- */
diff --git a/sources/libs/brutal/gfx/gfx.h b/sources/libs/bruwutal/gfx/gfx.h
index 2767b00e..31c37e5b 100644
--- a/sources/libs/brutal/gfx/gfx.h
+++ b/sources/libs/bruwutal/gfx/gfx.h
@@ -1,12 +1,12 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/gfx/font.h>
-#include <brutal/gfx/paint.h>
-#include <brutal/gfx/path.h>
-#include <brutal/gfx/stroke.h>
-#include <brutal/hash.h>
-#include <brutal/math.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/gfx/font.h>
+#include <bruwutal/gfx/paint.h>
+#include <bruwutal/gfx/path.h>
+#include <bruwutal/gfx/stroke.h>
+#include <bruwutal/hash.h>
+#include <bruwutal/math.h>
typedef struct
{
diff --git a/sources/libs/brutal/gfx/ops.c b/sources/libs/bruwutal/gfx/ops.c
index a9fcc4e6..dbc0a2fe 100644
--- a/sources/libs/brutal/gfx/ops.c
+++ b/sources/libs/bruwutal/gfx/ops.c
@@ -1,4 +1,4 @@
-#include <brutal/gfx/ops.h>
+#include <bruwutal/gfx/ops.h>
#include <string.h>
/* --- gfx_ops_copy --------------------------------------------------------- */
diff --git a/sources/libs/brutal/gfx/ops.h b/sources/libs/bruwutal/gfx/ops.h
index c591eb07..faca7ede 100644
--- a/sources/libs/brutal/gfx/ops.h
+++ b/sources/libs/bruwutal/gfx/ops.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/gfx/buf.h>
+#include <bruwutal/gfx/buf.h>
void gfx_ops_copy(GfxBuf dst, GfxBuf src, int x, int y);
diff --git a/sources/libs/brutal/gfx/paint.h b/sources/libs/bruwutal/gfx/paint.h
index a36bb64b..b3b65fc5 100644
--- a/sources/libs/brutal/gfx/paint.h
+++ b/sources/libs/bruwutal/gfx/paint.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/gfx/buf.h>
-#include <brutal/math/edge.h>
-#include <brutal/math/trans2.h>
+#include <bruwutal/gfx/buf.h>
+#include <bruwutal/math/edge.h>
+#include <bruwutal/math/trans2.h>
typedef enum
{
diff --git a/sources/libs/brutal/gfx/path.c b/sources/libs/bruwutal/gfx/path.c
index 0b260cd2..70c58a95 100644
--- a/sources/libs/brutal/gfx/path.c
+++ b/sources/libs/bruwutal/gfx/path.c
@@ -1,8 +1,8 @@
-#include <brutal/debug/locked.h>
-#include <brutal/gfx/path.h>
-#include <brutal/math/funcs.h>
-#include <brutal/math/trans2.h>
-#include <brutal/parse/nums.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/gfx/path.h>
+#include <bruwutal/math/funcs.h>
+#include <bruwutal/math/trans2.h>
+#include <bruwutal/parse/nums.h>
/* --- Path Object ---------------------------------------------------------- */
diff --git a/sources/libs/brutal/gfx/path.h b/sources/libs/bruwutal/gfx/path.h
index 44bddd40..058cba53 100644
--- a/sources/libs/brutal/gfx/path.h
+++ b/sources/libs/bruwutal/gfx/path.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/math/edge.h>
-#include <brutal/math/vec2.h>
-#include <brutal/parse/scan.h>
+#include <bruwutal/math/edge.h>
+#include <bruwutal/math/vec2.h>
+#include <bruwutal/parse/scan.h>
/* --- Path Object ---------------------------------------------------------- */
diff --git a/sources/libs/brutal/gfx/stroke.c b/sources/libs/bruwutal/gfx/stroke.c
index 482361f5..4b2a4076 100644
--- a/sources/libs/brutal/gfx/stroke.c
+++ b/sources/libs/bruwutal/gfx/stroke.c
@@ -1,5 +1,5 @@
-#include <brutal/debug/locked.h>
-#include <brutal/gfx/stroke.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/gfx/stroke.h>
void gfx_stroke_join(GfxStrokeJoin join, MEdges *stroke, MEdge curr, MEdge next, MAYBE_UNUSED float dist)
{
diff --git a/sources/libs/brutal/gfx/stroke.h b/sources/libs/bruwutal/gfx/stroke.h
index 3fb92296..8292cc4f 100644
--- a/sources/libs/brutal/gfx/stroke.h
+++ b/sources/libs/bruwutal/gfx/stroke.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/math/edge.h>
+#include <bruwutal/math/edge.h>
typedef enum
{
diff --git a/sources/libs/brutal/gfx/vga.c b/sources/libs/bruwutal/gfx/vga.c
index a9fcf0fd..56b356c2 100644
--- a/sources/libs/brutal/gfx/vga.c
+++ b/sources/libs/bruwutal/gfx/vga.c
@@ -1,4 +1,4 @@
-#include <brutal/gfx/font.h>
+#include <bruwutal/gfx/font.h>
uint8_t gfx_font_builtin_data[256 * 16] = {
diff --git a/sources/libs/bruwutal/hash.h b/sources/libs/bruwutal/hash.h
new file mode 100644
index 00000000..9d1aedac
--- /dev/null
+++ b/sources/libs/bruwutal/hash.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/hash/fnv.h>
diff --git a/sources/libs/brutal/hash/adler32.c b/sources/libs/bruwutal/hash/adler32.c
index 4bb40fec..bc22ef86 100644
--- a/sources/libs/brutal/hash/adler32.c
+++ b/sources/libs/bruwutal/hash/adler32.c
@@ -1,5 +1,5 @@
-#include <brutal/hash/adler32.h>
-#include <brutal/io/funcs.h>
+#include <bruwutal/hash/adler32.h>
+#include <bruwutal/io/funcs.h>
#define A32_BASE 65521
diff --git a/sources/libs/brutal/hash/adler32.h b/sources/libs/bruwutal/hash/adler32.h
index a08a99cb..f6edf8fa 100644
--- a/sources/libs/brutal/hash/adler32.h
+++ b/sources/libs/bruwutal/hash/adler32.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/traits.h>
+#include <bruwutal/io/traits.h>
typedef struct
{
diff --git a/sources/libs/brutal/hash/crc32.c b/sources/libs/bruwutal/hash/crc32.c
index 436846c6..19291d13 100644
--- a/sources/libs/brutal/hash/crc32.c
+++ b/sources/libs/bruwutal/hash/crc32.c
@@ -1,5 +1,5 @@
-#include <brutal/hash/crc32.h>
-#include <brutal/io/funcs.h>
+#include <bruwutal/hash/crc32.h>
+#include <bruwutal/io/funcs.h>
static uint32_t const crc32tab[16] = {
0x00000000, 0x1DB71064, 0x3B6E20C8, 0x26D930AC, 0x76DC4190,
diff --git a/sources/libs/brutal/hash/crc32.h b/sources/libs/bruwutal/hash/crc32.h
index 4cb99ead..7140a52a 100644
--- a/sources/libs/brutal/hash/crc32.h
+++ b/sources/libs/bruwutal/hash/crc32.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/traits.h>
+#include <bruwutal/io/traits.h>
typedef struct
{
diff --git a/sources/libs/brutal/hash/fnv.c b/sources/libs/bruwutal/hash/fnv.c
index 0a93e9da..c3890c25 100644
--- a/sources/libs/brutal/hash/fnv.c
+++ b/sources/libs/bruwutal/hash/fnv.c
@@ -1,4 +1,4 @@
-#include <brutal/hash/fnv.h>
+#include <bruwutal/hash/fnv.h>
Fnv32 fnv_32(void const *buf, size_t len, Fnv32 hval)
{
diff --git a/sources/libs/brutal/hash/fnv.h b/sources/libs/bruwutal/hash/fnv.h
index 8ee32f98..c2b896ad 100644
--- a/sources/libs/brutal/hash/fnv.h
+++ b/sources/libs/bruwutal/hash/fnv.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
/* Based on https://github.com/haipome/fnv */
diff --git a/sources/libs/bruwutal/input.h b/sources/libs/bruwutal/input.h
new file mode 100644
index 00000000..10e94a3b
--- /dev/null
+++ b/sources/libs/bruwutal/input.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/input/keyboard.h>
+#include <bruwutal/input/mouse.h>
diff --git a/sources/libs/brutal/input/keyboard.h b/sources/libs/bruwutal/input/keyboard.h
index 44c19381..74e95341 100644
--- a/sources/libs/brutal/input/keyboard.h
+++ b/sources/libs/bruwutal/input/keyboard.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/std.h>
-#include <brutal/text/rune.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/text/rune.h>
#define FOREACH_KB_KEY(KEY) \
KEY(KBKEY_INVALID, 0x0) \
diff --git a/sources/libs/brutal/input/mouse.h b/sources/libs/bruwutal/input/mouse.h
index 8f97f85a..253deb3b 100644
--- a/sources/libs/brutal/input/mouse.h
+++ b/sources/libs/bruwutal/input/mouse.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
#define MSBTN_LEFT (1 << 0)
#define MSBTN_MIDDLE (1 << 1)
diff --git a/sources/libs/bruwutal/io.h b/sources/libs/bruwutal/io.h
new file mode 100644
index 00000000..6b5cd308
--- /dev/null
+++ b/sources/libs/bruwutal/io.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/io/buf.h>
+#include <bruwutal/io/emit.h>
+#include <bruwutal/io/file.h>
+#include <bruwutal/io/fmt.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/io/std.h>
diff --git a/sources/libs/brutal/io/base.c b/sources/libs/bruwutal/io/base.c
index 45d617e6..0464f6de 100644
--- a/sources/libs/brutal/io/base.c
+++ b/sources/libs/bruwutal/io/base.c
@@ -1,5 +1,5 @@
-#include <brutal/debug/locked.h>
-#include <brutal/io/base.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/io/base.h>
IoSeek io_seek_from_start(SSize position)
{
diff --git a/sources/libs/brutal/io/base.h b/sources/libs/bruwutal/io/base.h
index d8132ab0..3ee8e692 100644
--- a/sources/libs/brutal/io/base.h
+++ b/sources/libs/bruwutal/io/base.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/error.h>
-#include <brutal/base/types.h>
+#include <bruwutal/base/error.h>
+#include <bruwutal/base/types.h>
#define IO_MAP_READ (1 << 0)
#define IO_MAP_WRITE (1 << 1)
diff --git a/sources/libs/brutal/io/buf.c b/sources/libs/bruwutal/io/buf.c
index 5d83a058..3aa47ebe 100644
--- a/sources/libs/brutal/io/buf.c
+++ b/sources/libs/bruwutal/io/buf.c
@@ -1,8 +1,8 @@
-#include <brutal/base/attributes.h>
-#include <brutal/base/macros.h>
-#include <brutal/debug.h>
-#include <brutal/io/buf.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io/buf.h>
+#include <bruwutal/math/clamp.h>
void buf_init(Buf *self, size_t capacity, Alloc *alloc)
{
diff --git a/sources/libs/brutal/io/buf.h b/sources/libs/bruwutal/io/buf.h
index 2d53ac17..6b2c7b41 100644
--- a/sources/libs/brutal/io/buf.h
+++ b/sources/libs/bruwutal/io/buf.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/io/traits.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/io/traits.h>
typedef struct
{
diff --git a/sources/libs/brutal/io/emit.c b/sources/libs/bruwutal/io/emit.c
index 9f212350..cd6c9342 100644
--- a/sources/libs/brutal/io/emit.c
+++ b/sources/libs/bruwutal/io/emit.c
@@ -1,7 +1,7 @@
-#include <brutal/base/attributes.h>
-#include <brutal/debug/assert.h>
-#include <brutal/io/emit.h>
-#include <brutal/io/funcs.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/io/emit.h>
+#include <bruwutal/io/funcs.h>
void emit_init(Emit *self, IoWriter writer)
{
diff --git a/sources/libs/brutal/io/emit.h b/sources/libs/bruwutal/io/emit.h
index d812482b..f5e7e5e8 100644
--- a/sources/libs/brutal/io/emit.h
+++ b/sources/libs/bruwutal/io/emit.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/buf.h>
+#include <bruwutal/io/buf.h>
typedef struct
{
diff --git a/sources/libs/brutal/io/file.c b/sources/libs/bruwutal/io/file.c
index e5d6406f..03a94b52 100644
--- a/sources/libs/brutal/io/file.c
+++ b/sources/libs/bruwutal/io/file.c
@@ -1,5 +1,5 @@
-#include <brutal/base/attributes.h>
-#include <brutal/io/file.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/io/file.h>
#include <embed/file.h>
MaybeError io_file_init(IoFile *self, Str path, FileInitFlags flags)
diff --git a/sources/libs/brutal/io/file.h b/sources/libs/bruwutal/io/file.h
index a2191da2..916afed1 100644
--- a/sources/libs/brutal/io/file.h
+++ b/sources/libs/bruwutal/io/file.h
@@ -2,7 +2,7 @@
#ifndef __kernel__
-# include <brutal/io/traits.h>
+# include <bruwutal/io/traits.h>
# include <embed/file-decl.h>
typedef struct
diff --git a/sources/libs/brutal/io/fmt.c b/sources/libs/bruwutal/io/fmt.c
index bd62b782..d18a33a2 100644
--- a/sources/libs/brutal/io/fmt.c
+++ b/sources/libs/bruwutal/io/fmt.c
@@ -1,14 +1,14 @@
-#define _BRUTAL_SOURCE
-
-#include <brutal/alloc/global.h>
-#include <brutal/base/attributes.h>
-#include <brutal/base/keywords.h>
-#include <brutal/io/fmt.h>
-#include <brutal/io/funcs.h>
-#include <brutal/parse/nums.h>
-#include <brutal/text/case.h>
-#include <brutal/text/utf8.h>
-#include <brutal/text/vals.h>
+#define _bruwutal_SOURCE
+
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/io/fmt.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/parse/nums.h>
+#include <bruwutal/text/case.h>
+#include <bruwutal/text/utf8.h>
+#include <bruwutal/text/vals.h>
#include <math.h>
static int fmt_base(Fmt self)
diff --git a/sources/libs/brutal/io/fmt.h b/sources/libs/bruwutal/io/fmt.h
index 792fd5f0..9be20292 100644
--- a/sources/libs/brutal/io/fmt.h
+++ b/sources/libs/bruwutal/io/fmt.h
@@ -1,10 +1,10 @@
#pragma once
-#include <brutal/base/any.h>
-#include <brutal/io/traits.h>
-#include <brutal/parse/scan.h>
-#include <brutal/text/case.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/any.h>
+#include <bruwutal/io/traits.h>
+#include <bruwutal/parse/scan.h>
+#include <bruwutal/text/case.h>
+#include <bruwutal/text/str.h>
typedef enum
{
diff --git a/sources/libs/brutal/io/funcs.c b/sources/libs/bruwutal/io/funcs.c
index cc4f1fbc..1063919e 100644
--- a/sources/libs/brutal/io/funcs.c
+++ b/sources/libs/bruwutal/io/funcs.c
@@ -1,6 +1,6 @@
-#include <brutal/base/attributes.h>
-#include <brutal/io/funcs.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/math/clamp.h>
/* --- Read Functions ------------------------------------------------------- */
diff --git a/sources/libs/brutal/io/funcs.h b/sources/libs/bruwutal/io/funcs.h
index bf099761..e6e14e27 100644
--- a/sources/libs/brutal/io/funcs.h
+++ b/sources/libs/bruwutal/io/funcs.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/io/buf.h>
-#include <brutal/io/fmt.h>
-#include <brutal/io/traits.h>
+#include <bruwutal/io/buf.h>
+#include <bruwutal/io/fmt.h>
+#include <bruwutal/io/traits.h>
/* --- Read Functions ------------------------------------------------------- */
diff --git a/sources/libs/brutal/io/mem.c b/sources/libs/bruwutal/io/mem.c
index 2a31a6ae..2d2a5f7f 100644
--- a/sources/libs/brutal/io/mem.c
+++ b/sources/libs/bruwutal/io/mem.c
@@ -1,7 +1,7 @@
-#include <brutal/base/attributes.h>
-#include <brutal/base/macros.h>
-#include <brutal/io/mem.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/io/mem.h>
+#include <bruwutal/math/clamp.h>
void io_mem_init(IoMem *self, size_t capacity, const void *data)
{
diff --git a/sources/libs/brutal/io/mem.h b/sources/libs/bruwutal/io/mem.h
index 6294daf0..0c32ddd2 100644
--- a/sources/libs/brutal/io/mem.h
+++ b/sources/libs/bruwutal/io/mem.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/io/traits.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/io/traits.h>
typedef struct
{
diff --git a/sources/libs/brutal/io/rbits.h b/sources/libs/bruwutal/io/rbits.h
index 8a4c4746..81b96e48 100644
--- a/sources/libs/brutal/io/rbits.h
+++ b/sources/libs/bruwutal/io/rbits.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/result.h>
-#include <brutal/debug/assert.h>
-#include <brutal/io/funcs.h>
+#include <bruwutal/base/result.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/io/funcs.h>
typedef uint_fast64_t BitBuf;
diff --git a/sources/libs/brutal/io/std.c b/sources/libs/bruwutal/io/std.c
index 4cd17bd0..80507906 100644
--- a/sources/libs/brutal/io/std.c
+++ b/sources/libs/bruwutal/io/std.c
@@ -1,5 +1,5 @@
-#include <brutal/base/attributes.h>
-#include <brutal/io/std.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/io/std.h>
#include <embed/chan.h>
#include <embed/file.h>
diff --git a/sources/libs/brutal/io/std.h b/sources/libs/bruwutal/io/std.h
index c3c021ea..5bb58f71 100644
--- a/sources/libs/brutal/io/std.h
+++ b/sources/libs/bruwutal/io/std.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/traits.h>
+#include <bruwutal/io/traits.h>
typedef enum
{
diff --git a/sources/libs/brutal/io/traits.h b/sources/libs/bruwutal/io/traits.h
index 5913ffcf..79aa3e2d 100644
--- a/sources/libs/brutal/io/traits.h
+++ b/sources/libs/bruwutal/io/traits.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/base.h>
+#include <bruwutal/io/base.h>
typedef IoResult IoReadFn(void *context, uint8_t *data, size_t size);
typedef IoResult IoWriteFn(void *context, uint8_t const *data, size_t size);
diff --git a/sources/libs/brutal/io/wbits.h b/sources/libs/bruwutal/io/wbits.h
index 53d5e02f..f80d38bd 100644
--- a/sources/libs/brutal/io/wbits.h
+++ b/sources/libs/bruwutal/io/wbits.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/result.h>
-#include <brutal/io/funcs.h>
+#include <bruwutal/base/result.h>
+#include <bruwutal/io/funcs.h>
typedef uint_fast64_t BitBuf;
diff --git a/sources/libs/brutal/io/window.c b/sources/libs/bruwutal/io/window.c
index c06a4c84..76d05b43 100644
--- a/sources/libs/brutal/io/window.c
+++ b/sources/libs/bruwutal/io/window.c
@@ -1,7 +1,7 @@
-#include <brutal/debug/assert.h>
-#include <brutal/io/funcs.h>
-#include <brutal/io/window.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/io/window.h>
+#include <bruwutal/math/clamp.h>
#define WINDOW_MAX_CAPACITY_FACTOR 3
#define WINDOW_FLUSH_THRESHOLD_FACTOR 2
diff --git a/sources/libs/brutal/io/window.h b/sources/libs/bruwutal/io/window.h
index 577b32fe..a354f849 100644
--- a/sources/libs/brutal/io/window.h
+++ b/sources/libs/bruwutal/io/window.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/io/traits.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/io/traits.h>
/**
@brief A sliding window implementation, used to lookup already written data
diff --git a/sources/libs/bruwutal/math.h b/sources/libs/bruwutal/math.h
new file mode 100644
index 00000000..41b50b69
--- /dev/null
+++ b/sources/libs/bruwutal/math.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/math/easing.h>
+#include <bruwutal/math/edge.h>
+#include <bruwutal/math/funcs.h>
+#include <bruwutal/math/rand.h>
+#include <bruwutal/math/rect.h>
+#include <bruwutal/math/trans2.h>
+#include <bruwutal/math/vec2.h>
diff --git a/sources/libs/brutal/math/angle.h b/sources/libs/bruwutal/math/angle.h
index 8df776f5..8df776f5 100644
--- a/sources/libs/brutal/math/angle.h
+++ b/sources/libs/bruwutal/math/angle.h
diff --git a/sources/libs/brutal/math/clamp.h b/sources/libs/bruwutal/math/clamp.h
index 792cb29d..792cb29d 100644
--- a/sources/libs/brutal/math/clamp.h
+++ b/sources/libs/bruwutal/math/clamp.h
diff --git a/sources/libs/brutal/math/dock.c b/sources/libs/bruwutal/math/dock.c
index febeba09..455361d1 100644
--- a/sources/libs/brutal/math/dock.c
+++ b/sources/libs/bruwutal/math/dock.c
@@ -1,4 +1,4 @@
-#include <brutal/math/dock.h>
+#include <bruwutal/math/dock.h>
MFlow m_dock_to_flow(MDock dock)
{
diff --git a/sources/libs/brutal/math/dock.h b/sources/libs/bruwutal/math/dock.h
index 29ec7d8d..8ec8469e 100644
--- a/sources/libs/brutal/math/dock.h
+++ b/sources/libs/bruwutal/math/dock.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/math/flow.h>
-#include <brutal/math/orientation.h>
+#include <bruwutal/math/flow.h>
+#include <bruwutal/math/orientation.h>
typedef enum
{
diff --git a/sources/libs/brutal/math/easing.c b/sources/libs/bruwutal/math/easing.c
index 40241d96..dfb5591e 100644
--- a/sources/libs/brutal/math/easing.c
+++ b/sources/libs/bruwutal/math/easing.c
@@ -1,4 +1,4 @@
-#include <brutal/math/easing.h>
+#include <bruwutal/math/easing.h>
#include <math.h>
double m_easing_linear(double p)
diff --git a/sources/libs/brutal/math/easing.h b/sources/libs/bruwutal/math/easing.h
index 0221f7f7..0221f7f7 100644
--- a/sources/libs/brutal/math/easing.h
+++ b/sources/libs/bruwutal/math/easing.h
diff --git a/sources/libs/brutal/math/edge.h b/sources/libs/bruwutal/math/edge.h
index 9e7c9a37..08ded4c6 100644
--- a/sources/libs/brutal/math/edge.h
+++ b/sources/libs/bruwutal/math/edge.h
@@ -1,10 +1,10 @@
#pragma once
-#include <brutal/ds/vec.h>
-#include <brutal/io/buf.h>
-#include <brutal/math/clamp.h>
-#include <brutal/math/rect.h>
-#include <brutal/math/vec2.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/io/buf.h>
+#include <bruwutal/math/clamp.h>
+#include <bruwutal/math/rect.h>
+#include <bruwutal/math/vec2.h>
typedef union
{
diff --git a/sources/libs/brutal/math/flow.c b/sources/libs/bruwutal/math/flow.c
index cbca5a69..32b7d858 100644
--- a/sources/libs/brutal/math/flow.c
+++ b/sources/libs/bruwutal/math/flow.c
@@ -1,4 +1,4 @@
-#include <brutal/math/flow.h>
+#include <bruwutal/math/flow.h>
MFlow m_flow_relative(MFlow parent, MFlow child)
{
diff --git a/sources/libs/brutal/math/flow.h b/sources/libs/bruwutal/math/flow.h
index 1b4e4730..fd984984 100644
--- a/sources/libs/brutal/math/flow.h
+++ b/sources/libs/bruwutal/math/flow.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/math/rect.h>
+#include <bruwutal/math/rect.h>
typedef enum
{
diff --git a/sources/libs/brutal/math/funcs.h b/sources/libs/bruwutal/math/funcs.h
index ece6214c..ece6214c 100644
--- a/sources/libs/brutal/math/funcs.h
+++ b/sources/libs/bruwutal/math/funcs.h
diff --git a/sources/libs/brutal/math/gravity.c b/sources/libs/bruwutal/math/gravity.c
index f51a8627..caf7dc65 100644
--- a/sources/libs/brutal/math/gravity.c
+++ b/sources/libs/bruwutal/math/gravity.c
@@ -1,4 +1,4 @@
-#include <brutal/math/gravity.h>
+#include <bruwutal/math/gravity.h>
MRectf m_gravity_apply(MGravity gravity, MFlow flow, MRectf content, MRectf container)
{
diff --git a/sources/libs/brutal/math/gravity.h b/sources/libs/bruwutal/math/gravity.h
index 3e5af035..feeb5457 100644
--- a/sources/libs/brutal/math/gravity.h
+++ b/sources/libs/bruwutal/math/gravity.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/math/flow.h>
-#include <brutal/math/rect.h>
+#include <bruwutal/math/flow.h>
+#include <bruwutal/math/rect.h>
#define M_GRAVITY_NONE (0)
diff --git a/sources/libs/brutal/math/orientation.h b/sources/libs/bruwutal/math/orientation.h
index 8206f1be..8206f1be 100644
--- a/sources/libs/brutal/math/orientation.h
+++ b/sources/libs/bruwutal/math/orientation.h
diff --git a/sources/libs/brutal/math/rand.c b/sources/libs/bruwutal/math/rand.c
index 59dcf955..d2255958 100644
--- a/sources/libs/brutal/math/rand.c
+++ b/sources/libs/bruwutal/math/rand.c
@@ -1,4 +1,4 @@
-#include <brutal/math/rand.h>
+#include <bruwutal/math/rand.h>
void m_rand_init(MRand *self, uint32_t seed)
{
diff --git a/sources/libs/brutal/math/rand.h b/sources/libs/bruwutal/math/rand.h
index a2308474..79505257 100644
--- a/sources/libs/brutal/math/rand.h
+++ b/sources/libs/bruwutal/math/rand.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
typedef struct
{
diff --git a/sources/libs/brutal/math/rect.h b/sources/libs/bruwutal/math/rect.h
index 708e1b89..a73e5451 100644
--- a/sources/libs/brutal/math/rect.h
+++ b/sources/libs/bruwutal/math/rect.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base.h>
-#include <brutal/math/vec2.h>
+#include <bruwutal/base.h>
+#include <bruwutal/math/vec2.h>
typedef union
{
diff --git a/sources/libs/brutal/math/spacing.c b/sources/libs/bruwutal/math/spacing.c
index 04e077f3..0fc050a4 100644
--- a/sources/libs/brutal/math/spacing.c
+++ b/sources/libs/bruwutal/math/spacing.c
@@ -1,4 +1,4 @@
-#include <brutal/math/spacing.h>
+#include <bruwutal/math/spacing.h>
MSpacing m_spacing_all(float value)
{
diff --git a/sources/libs/brutal/math/spacing.h b/sources/libs/bruwutal/math/spacing.h
index 74f19377..65e233c3 100644
--- a/sources/libs/brutal/math/spacing.h
+++ b/sources/libs/bruwutal/math/spacing.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/math/flow.h>
+#include <bruwutal/math/flow.h>
typedef struct
{
diff --git a/sources/libs/brutal/math/trans2.h b/sources/libs/bruwutal/math/trans2.h
index f2516bde..926883c0 100644
--- a/sources/libs/brutal/math/trans2.h
+++ b/sources/libs/bruwutal/math/trans2.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/std.h>
-#include <brutal/math/vec2.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/math/vec2.h>
#include <math.h>
typedef union
diff --git a/sources/libs/brutal/math/vec2.h b/sources/libs/bruwutal/math/vec2.h
index 0bf2fdc4..660ab228 100644
--- a/sources/libs/brutal/math/vec2.h
+++ b/sources/libs/bruwutal/math/vec2.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/math/angle.h>
-#include <brutal/math/clamp.h>
+#include <bruwutal/math/angle.h>
+#include <bruwutal/math/clamp.h>
#include <math.h>
typedef union
diff --git a/sources/libs/bruwutal/mem.h b/sources/libs/bruwutal/mem.h
new file mode 100644
index 00000000..01e00ac0
--- /dev/null
+++ b/sources/libs/bruwutal/mem.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/mem/const.h>
+#include <bruwutal/mem/pages.h>
+#include <bruwutal/mem/units.h>
+#include <bruwutal/mem/volatile.h>
diff --git a/sources/libs/brutal/mem/const.h b/sources/libs/bruwutal/mem/const.h
index 2369d7a7..2369d7a7 100644
--- a/sources/libs/brutal/mem/const.h
+++ b/sources/libs/bruwutal/mem/const.h
diff --git a/sources/libs/brutal/mem/copy.c b/sources/libs/bruwutal/mem/copy.c
index d39134be..ec1182f9 100644
--- a/sources/libs/brutal/mem/copy.c
+++ b/sources/libs/bruwutal/mem/copy.c
@@ -1,4 +1,4 @@
-#include <brutal/mem/funcs.h>
+#include <bruwutal/mem/funcs.h>
#include <embed/mem.h>
void *mem_cpy(void *to, void const *from, size_t n)
diff --git a/sources/libs/brutal/mem/funcs.h b/sources/libs/bruwutal/mem/funcs.h
index fb76bbd0..a86c121c 100644
--- a/sources/libs/brutal/mem/funcs.h
+++ b/sources/libs/bruwutal/mem/funcs.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
void *mem_cpy(void *s1, void const *s2, size_t n);
diff --git a/sources/libs/brutal/mem/move.c b/sources/libs/bruwutal/mem/move.c
index 34591d52..36fc4dbc 100644
--- a/sources/libs/brutal/mem/move.c
+++ b/sources/libs/bruwutal/mem/move.c
@@ -1,4 +1,4 @@
-#include <brutal/mem/funcs.h>
+#include <bruwutal/mem/funcs.h>
void *mem_move(void *dest, void const *src, size_t n)
{
diff --git a/sources/libs/brutal/mem/pages.h b/sources/libs/bruwutal/mem/pages.h
index 003f0efc..003f0efc 100644
--- a/sources/libs/brutal/mem/pages.h
+++ b/sources/libs/bruwutal/mem/pages.h
diff --git a/sources/libs/brutal/mem/set.c b/sources/libs/bruwutal/mem/set.c
index 8dac814d..a4602aed 100644
--- a/sources/libs/brutal/mem/set.c
+++ b/sources/libs/bruwutal/mem/set.c
@@ -1,4 +1,4 @@
-#include <brutal/mem/funcs.h>
+#include <bruwutal/mem/funcs.h>
#include <embed/mem.h>
void *mem_set(void *s, uint8_t c, size_t n)
diff --git a/sources/libs/brutal/mem/units.h b/sources/libs/bruwutal/mem/units.h
index 16b3c584..f94a8902 100644
--- a/sources/libs/brutal/mem/units.h
+++ b/sources/libs/bruwutal/mem/units.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
#define KiB(VAL) ((uintptr_t)(VAL)*1024)
diff --git a/sources/libs/brutal/mem/volatile.h b/sources/libs/bruwutal/mem/volatile.h
index 8ab7e2bf..43a51b68 100644
--- a/sources/libs/brutal/mem/volatile.h
+++ b/sources/libs/bruwutal/mem/volatile.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
static inline void volatile_write8(uintptr_t address, uint8_t value)
{
diff --git a/sources/libs/bruwutal/parse.h b/sources/libs/bruwutal/parse.h
new file mode 100644
index 00000000..83a1ea36
--- /dev/null
+++ b/sources/libs/bruwutal/parse.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/parse/lex.h>
+#include <bruwutal/parse/nums.h>
+#include <bruwutal/parse/scan.h>
diff --git a/sources/libs/brutal/parse/lex.c b/sources/libs/bruwutal/parse/lex.c
index 3bc358e0..1b06c349 100644
--- a/sources/libs/brutal/parse/lex.c
+++ b/sources/libs/bruwutal/parse/lex.c
@@ -1,5 +1,5 @@
-#include <brutal/debug/locked.h>
-#include <brutal/parse/lex.h>
+#include <bruwutal/debug/locked.h>
+#include <bruwutal/parse/lex.h>
Lex lex(Scan *scan, LexFn *fn, Alloc *alloc)
{
diff --git a/sources/libs/brutal/parse/lex.h b/sources/libs/bruwutal/parse/lex.h
index a5a3dffb..af1547a8 100644
--- a/sources/libs/brutal/parse/lex.h
+++ b/sources/libs/bruwutal/parse/lex.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/ds/vec.h>
-#include <brutal/parse/lexeme.h>
-#include <brutal/parse/scan.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/parse/lexeme.h>
+#include <bruwutal/parse/scan.h>
typedef struct
{
diff --git a/sources/libs/brutal/parse/lexeme.h b/sources/libs/bruwutal/parse/lexeme.h
index bc7b7f70..bbda02b4 100644
--- a/sources/libs/brutal/parse/lexeme.h
+++ b/sources/libs/bruwutal/parse/lexeme.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text/str.h>
+#include <bruwutal/text/str.h>
#define LEXEME_EOF (-1)
#define LEXEME_INVALID (-2)
diff --git a/sources/libs/brutal/parse/nums.c b/sources/libs/bruwutal/parse/nums.c
index 33d71e1b..4b6ae7fb 100644
--- a/sources/libs/brutal/parse/nums.c
+++ b/sources/libs/bruwutal/parse/nums.c
@@ -1,4 +1,4 @@
-#include <brutal/parse/nums.h>
+#include <bruwutal/parse/nums.h>
#include <math.h>
#include <string.h>
diff --git a/sources/libs/brutal/parse/nums.h b/sources/libs/bruwutal/parse/nums.h
index c6d30b26..02ffee81 100644
--- a/sources/libs/brutal/parse/nums.h
+++ b/sources/libs/bruwutal/parse/nums.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/parse/scan.h>
+#include <bruwutal/parse/scan.h>
long scan_next_digit(Scan *self);
diff --git a/sources/libs/brutal/parse/scan.c b/sources/libs/bruwutal/parse/scan.c
index 4d5e7e6b..74a64bea 100644
--- a/sources/libs/brutal/parse/scan.c
+++ b/sources/libs/bruwutal/parse/scan.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc.h>
-#include <brutal/ds.h>
-#include <brutal/io/funcs.h>
-#include <brutal/parse/scan.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/parse/scan.h>
void scan_init(Scan *self, Str str)
{
diff --git a/sources/libs/brutal/parse/scan.h b/sources/libs/bruwutal/parse/scan.h
index 7714dd35..9ea42c27 100644
--- a/sources/libs/brutal/parse/scan.h
+++ b/sources/libs/bruwutal/parse/scan.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/std.h>
-#include <brutal/io/traits.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/io/traits.h>
+#include <bruwutal/text/str.h>
#include <ctype.h>
typedef int(ScanMatch)(int);
diff --git a/sources/libs/bruwutal/sync.h b/sources/libs/bruwutal/sync.h
new file mode 100644
index 00000000..c7537823
--- /dev/null
+++ b/sources/libs/bruwutal/sync.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/sync/lock.h>
+#include <bruwutal/sync/ref.h>
+#include <bruwutal/sync/rwlock.h>
diff --git a/sources/libs/brutal/sync/lock.c b/sources/libs/bruwutal/sync/lock.c
index 4c994912..8688c754 100644
--- a/sources/libs/brutal/sync/lock.c
+++ b/sources/libs/bruwutal/sync/lock.c
@@ -1,4 +1,4 @@
-#include <brutal/sync/lock.h>
+#include <bruwutal/sync/lock.h>
#include <embed/sync.h>
static bool lock_try_acquire_impl(Lock *lock)
diff --git a/sources/libs/brutal/sync/lock.h b/sources/libs/bruwutal/sync/lock.h
index 7cb417fd..f0799873 100644
--- a/sources/libs/brutal/sync/lock.h
+++ b/sources/libs/bruwutal/sync/lock.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/base/attributes.h>
-#include <brutal/base/keywords.h>
-#include <brutal/base/std.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/base/std.h>
typedef struct
{
diff --git a/sources/libs/brutal/sync/ref.h b/sources/libs/bruwutal/sync/ref.h
index bac36870..4a16e660 100644
--- a/sources/libs/brutal/sync/ref.h
+++ b/sources/libs/bruwutal/sync/ref.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base/std.h>
+#include <bruwutal/base/std.h>
typedef enum
{
diff --git a/sources/libs/brutal/sync/rwlock.c b/sources/libs/bruwutal/sync/rwlock.c
index a90ebb89..62452d0f 100644
--- a/sources/libs/brutal/sync/rwlock.c
+++ b/sources/libs/bruwutal/sync/rwlock.c
@@ -1,5 +1,5 @@
-#include <brutal/debug/assert.h>
-#include <brutal/sync/rwlock.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/sync/rwlock.h>
#include <embed/sync.h>
void rwlock_acquire_read(RwLock *self)
diff --git a/sources/libs/brutal/sync/rwlock.h b/sources/libs/bruwutal/sync/rwlock.h
index 66f5b968..234c843b 100644
--- a/sources/libs/brutal/sync/rwlock.h
+++ b/sources/libs/bruwutal/sync/rwlock.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/sync/lock.h>
+#include <bruwutal/sync/lock.h>
typedef struct
{
diff --git a/sources/libs/bruwutal/task.h b/sources/libs/bruwutal/task.h
new file mode 100644
index 00000000..4b6d8404
--- /dev/null
+++ b/sources/libs/bruwutal/task.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/task/task.h>
diff --git a/sources/libs/brutal/task/task.c b/sources/libs/bruwutal/task/task.c
index 2f6bc9b4..0594aa8b 100644
--- a/sources/libs/brutal/task/task.c
+++ b/sources/libs/bruwutal/task/task.c
@@ -1,4 +1,4 @@
-#include <brutal/task/task.h>
+#include <bruwutal/task/task.h>
#include <embed/task.h>
static bool task_initialized = false;
diff --git a/sources/libs/brutal/task/task.h b/sources/libs/bruwutal/task/task.h
index b88c918c..336652f4 100644
--- a/sources/libs/brutal/task/task.h
+++ b/sources/libs/bruwutal/task/task.h
@@ -1,9 +1,9 @@
#pragma once
-#include <brutal/base/error.h>
-#include <brutal/base/result.h>
-#include <brutal/task/types.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/error.h>
+#include <bruwutal/base/result.h>
+#include <bruwutal/task/types.h>
+#include <bruwutal/text/str.h>
#define TASK_THIS (0)
diff --git a/sources/libs/brutal/task/types.h b/sources/libs/bruwutal/task/types.h
index 37239f7d..4aed0419 100644
--- a/sources/libs/brutal/task/types.h
+++ b/sources/libs/bruwutal/task/types.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define CPU_NONE (-1)
diff --git a/sources/libs/bruwutal/text.h b/sources/libs/bruwutal/text.h
new file mode 100644
index 00000000..1bd284d2
--- /dev/null
+++ b/sources/libs/bruwutal/text.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/text/case.h>
+#include <bruwutal/text/cp437.h>
+#include <bruwutal/text/fmt.h>
+#include <bruwutal/text/glob.h>
+#include <bruwutal/text/rune.h>
+#include <bruwutal/text/str.h>
+#include <bruwutal/text/string.h>
+#include <bruwutal/text/utf16.h>
+#include <bruwutal/text/utf8.h>
+#include <bruwutal/text/vals.h>
+#include <bruwutal/text/witty.h>
diff --git a/sources/libs/brutal/text/case.c b/sources/libs/bruwutal/text/case.c
index ab45f525..0ff8f4ef 100644
--- a/sources/libs/brutal/text/case.c
+++ b/sources/libs/bruwutal/text/case.c
@@ -1,6 +1,6 @@
-#include <brutal/debug/assert.h>
-#include <brutal/parse/scan.h>
-#include <brutal/text/case.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/parse/scan.h>
+#include <bruwutal/text/case.h>
#include <ctype.h>
Buf case_to_default(Str str, Alloc *alloc)
diff --git a/sources/libs/brutal/text/case.h b/sources/libs/bruwutal/text/case.h
index 455962a3..a81120bc 100644
--- a/sources/libs/brutal/text/case.h
+++ b/sources/libs/bruwutal/text/case.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/buf.h>
+#include <bruwutal/io/buf.h>
typedef enum
{
diff --git a/sources/libs/brutal/text/cp437.c b/sources/libs/bruwutal/text/cp437.c
index 3e3fb3b3..9efb5891 100644
--- a/sources/libs/brutal/text/cp437.c
+++ b/sources/libs/bruwutal/text/cp437.c
@@ -1,4 +1,4 @@
-#include <brutal/text/cp437.h>
+#include <bruwutal/text/cp437.h>
uint8_t cp437_from_rune(Rune rune)
{
diff --git a/sources/libs/brutal/text/cp437.h b/sources/libs/bruwutal/text/cp437.h
index a0fc8eb4..1a5ebdc5 100644
--- a/sources/libs/brutal/text/cp437.h
+++ b/sources/libs/bruwutal/text/cp437.h
@@ -1,3 +1,3 @@
-#include <brutal/text/rune.h>
+#include <bruwutal/text/rune.h>
uint8_t cp437_from_rune(Rune rune);
diff --git a/sources/libs/brutal/text/fmt.c b/sources/libs/bruwutal/text/fmt.c
index 3ba79488..72fb3575 100644
--- a/sources/libs/brutal/text/fmt.c
+++ b/sources/libs/bruwutal/text/fmt.c
@@ -1,5 +1,5 @@
-#include <brutal/io/funcs.h>
-#include <brutal/text/fmt.h>
+#include <bruwutal/io/funcs.h>
+#include <bruwutal/text/fmt.h>
Str str_fmt(Alloc *alloc, Str fmt, AnyVa args)
{
diff --git a/sources/libs/brutal/text/fmt.h b/sources/libs/bruwutal/text/fmt.h
index c4fa96c2..76702bc1 100644
--- a/sources/libs/brutal/text/fmt.h
+++ b/sources/libs/bruwutal/text/fmt.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/std.h>
-#include <brutal/io/fmt.h>
+#include <bruwutal/base/std.h>
+#include <bruwutal/io/fmt.h>
Str str_fmt(Alloc *alloc, Str format, AnyVa args);
diff --git a/sources/libs/brutal/text/glob.c b/sources/libs/bruwutal/text/glob.c
index cbff05d5..54a3f528 100644
--- a/sources/libs/brutal/text/glob.c
+++ b/sources/libs/bruwutal/text/glob.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text/glob.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text/glob.h>
bool glob_match_group(Scan *pattern, char current)
{
diff --git a/sources/libs/brutal/text/glob.h b/sources/libs/bruwutal/text/glob.h
index 0836a9fb..11001876 100644
--- a/sources/libs/brutal/text/glob.h
+++ b/sources/libs/bruwutal/text/glob.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/parse/scan.h>
+#include <bruwutal/parse/scan.h>
/**
@brief Match a stream of charaters using glob patterns
diff --git a/sources/libs/bruwutal/text/rune.h b/sources/libs/bruwutal/text/rune.h
new file mode 100644
index 00000000..07e5be64
--- /dev/null
+++ b/sources/libs/bruwutal/text/rune.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <bruwutal/base/std.h>
+#include <bruwutal/text/str.h>
+
+typedef uint32_t Rune;
diff --git a/sources/libs/brutal/text/str.c b/sources/libs/bruwutal/text/str.c
index 40af9495..b831b63a 100644
--- a/sources/libs/brutal/text/str.c
+++ b/sources/libs/bruwutal/text/str.c
@@ -1,5 +1,5 @@
-#include <brutal/base/keywords.h>
-#include <brutal/text/str.h>
+#include <bruwutal/base/keywords.h>
+#include <bruwutal/text/str.h>
#include <ctype.h>
Str str_concat(Str const lhs, Str const rhs, Alloc *alloc)
diff --git a/sources/libs/brutal/text/str.h b/sources/libs/bruwutal/text/str.h
index b9b950ed..481a9351 100644
--- a/sources/libs/brutal/text/str.h
+++ b/sources/libs/bruwutal/text/str.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/base/macros.h>
-#include <brutal/base/std.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/base/macros.h>
+#include <bruwutal/base/std.h>
/* --- Null Terminated String ----------------------------------------------- */
diff --git a/sources/libs/brutal/text/string.c b/sources/libs/bruwutal/text/string.c
index e69de29b..e69de29b 100644
--- a/sources/libs/brutal/text/string.c
+++ b/sources/libs/bruwutal/text/string.c
diff --git a/sources/libs/brutal/text/string.h b/sources/libs/bruwutal/text/string.h
index 5aba1eb9..f022cd0d 100644
--- a/sources/libs/brutal/text/string.h
+++ b/sources/libs/bruwutal/text/string.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text.h>
+#include <bruwutal/text.h>
typedef struct
{
diff --git a/sources/libs/brutal/text/utf16.c b/sources/libs/bruwutal/text/utf16.c
index 5a4cf65b..4de93a0a 100644
--- a/sources/libs/brutal/text/utf16.c
+++ b/sources/libs/bruwutal/text/utf16.c
@@ -1,6 +1,6 @@
-#include <brutal/io/buf.h>
-#include <brutal/parse/scan.h>
-#include <brutal/text/case.h>
+#include <bruwutal/io/buf.h>
+#include <bruwutal/parse/scan.h>
+#include <bruwutal/text/case.h>
uint16_t *utf16_str_to_cstr(Str str, Alloc *alloc)
{
diff --git a/sources/libs/brutal/text/utf16.h b/sources/libs/bruwutal/text/utf16.h
index f398dec4..6eeb1b9b 100644
--- a/sources/libs/brutal/text/utf16.h
+++ b/sources/libs/bruwutal/text/utf16.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/text/str.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/text/str.h>
uint16_t *utf16_str_to_cstr(Str str, Alloc *alloc);
diff --git a/sources/libs/brutal/text/utf8.c b/sources/libs/bruwutal/text/utf8.c
index 9a7f3b4b..15c67794 100644
--- a/sources/libs/brutal/text/utf8.c
+++ b/sources/libs/bruwutal/text/utf8.c
@@ -1,4 +1,4 @@
-#include <brutal/text/utf8.h>
+#include <bruwutal/text/utf8.h>
StrFix8 utf8_from_rune(Rune rune)
{
diff --git a/sources/libs/brutal/text/utf8.h b/sources/libs/bruwutal/text/utf8.h
index 4a7c9b26..6e227ef6 100644
--- a/sources/libs/brutal/text/utf8.h
+++ b/sources/libs/bruwutal/text/utf8.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/alloc/base.h>
-#include <brutal/text/rune.h>
+#include <bruwutal/alloc/base.h>
+#include <bruwutal/text/rune.h>
StrFix8 utf8_from_rune(Rune rune);
diff --git a/sources/libs/brutal/text/vals.h b/sources/libs/bruwutal/text/vals.h
index 611cf9ef..611cf9ef 100644
--- a/sources/libs/brutal/text/vals.h
+++ b/sources/libs/bruwutal/text/vals.h
diff --git a/sources/libs/brutal/text/witty.c b/sources/libs/bruwutal/text/witty.c
index 8a02a6ed..2f449150 100644
--- a/sources/libs/brutal/text/witty.c
+++ b/sources/libs/bruwutal/text/witty.c
@@ -1,4 +1,4 @@
-#include <brutal/text/witty.h>
+#include <bruwutal/text/witty.h>
static char *_witty[] = {
"Witty comment unavailable :(",
@@ -24,7 +24,7 @@ static char *_witty[] = {
"Get the f*** outa my room, I'm playing minecraft",
"Greenpeace free'd the mallocs \\o/",
"Hey, wait a minute! What if I type something wrong?",
- "Hi. I'm BRUTAL, and I'm a crashaholic.",
+ "Hi. I'm bruwutal, and I'm a crashaholic.",
"Hope. It is the quintessential human delusion",
"I blame Cyp.",
"I blame Monax. ",
@@ -42,7 +42,7 @@ static char *_witty[] = {
"It's not a good surprise...",
"Keyboard not found! Please press any key to continue...",
"Les erreurs au fond, ce n'est qu'une construction social",
- "Let me interject for a moment, what you call errors are in fact brutal/errors",
+ "Let me interject for a moment, what you call errors are in fact bruwutal/errors",
"Make it a feature",
"Minecraft crashed!",
"My bad.",
@@ -50,7 +50,7 @@ static char *_witty[] = {
"Never gonna say goodbye",
"Oh - I know what I did wrong!",
"On the bright side, I bought you a teddy bear!",
- "One day brutal will be bug free :tm:",
+ "One day bruwutal will be bug free :tm:",
"OOF!",
"OoooOOoOoOF!",
"Oops.",
diff --git a/sources/libs/brutal/text/witty.h b/sources/libs/bruwutal/text/witty.h
index e0f95257..f05d375b 100644
--- a/sources/libs/brutal/text/witty.h
+++ b/sources/libs/bruwutal/text/witty.h
@@ -1,5 +1,5 @@
#pragma once
-#include <brutal/text/str.h>
+#include <bruwutal/text/str.h>
Str witty(int seed);
diff --git a/sources/libs/bruwutal/time.h b/sources/libs/bruwutal/time.h
new file mode 100644
index 00000000..da2fb6a8
--- /dev/null
+++ b/sources/libs/bruwutal/time.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/time/convert.h>
+#include <bruwutal/time/query.h>
+#include <bruwutal/time/types.h>
diff --git a/sources/libs/brutal/time/constants.h b/sources/libs/bruwutal/time/constants.h
index f8c75cd1..f8c75cd1 100644
--- a/sources/libs/brutal/time/constants.h
+++ b/sources/libs/bruwutal/time/constants.h
diff --git a/sources/libs/brutal/time/convert.c b/sources/libs/bruwutal/time/convert.c
index 37643068..08761fa7 100644
--- a/sources/libs/brutal/time/convert.c
+++ b/sources/libs/bruwutal/time/convert.c
@@ -1,5 +1,5 @@
-#include <brutal/time/constants.h>
-#include <brutal/time/convert.h>
+#include <bruwutal/time/constants.h>
+#include <bruwutal/time/convert.h>
Date timestamp_to_date(TimeStamp timestamp)
{
diff --git a/sources/libs/brutal/time/convert.h b/sources/libs/bruwutal/time/convert.h
index db1b648a..3ddcc94d 100644
--- a/sources/libs/brutal/time/convert.h
+++ b/sources/libs/bruwutal/time/convert.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/time/types.h>
+#include <bruwutal/time/types.h>
Date timestamp_to_date(TimeStamp timestamp);
diff --git a/sources/libs/brutal/time/query.c b/sources/libs/bruwutal/time/query.c
index bb2d74b6..a42039a2 100644
--- a/sources/libs/brutal/time/query.c
+++ b/sources/libs/bruwutal/time/query.c
@@ -1,5 +1,5 @@
-#include <brutal/time/convert.h>
-#include <brutal/time/query.h>
+#include <bruwutal/time/convert.h>
+#include <bruwutal/time/query.h>
#include <embed/time.h>
Tick tick_now(void)
diff --git a/sources/libs/brutal/time/query.h b/sources/libs/bruwutal/time/query.h
index e19e920b..f1e2259f 100644
--- a/sources/libs/brutal/time/query.h
+++ b/sources/libs/bruwutal/time/query.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/time/types.h>
+#include <bruwutal/time/types.h>
Tick tick_now(void);
diff --git a/sources/libs/brutal/time/types.h b/sources/libs/bruwutal/time/types.h
index b6bb437c..a83ff463 100644
--- a/sources/libs/brutal/time/types.h
+++ b/sources/libs/bruwutal/time/types.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base/attributes.h>
-#include <brutal/base/std.h>
+#include <bruwutal/base/attributes.h>
+#include <bruwutal/base/std.h>
typedef uint64_t Tick;
typedef uint64_t TimeStamp;
diff --git a/sources/libs/bruwutal/ui.h b/sources/libs/bruwutal/ui.h
new file mode 100644
index 00000000..5134c9df
--- /dev/null
+++ b/sources/libs/bruwutal/ui.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <bruwutal/base.h>
+/* --- */
+#include <bruwutal/ui/app.h>
+#include <bruwutal/ui/color.h>
+#include <bruwutal/ui/event.h>
+#include <bruwutal/ui/font.h>
+#include <bruwutal/ui/parser.h>
+#include <bruwutal/ui/view.h>
+#include <bruwutal/ui/win.h>
+/* --- */
+#include <bruwutal/ui/button.h>
+#include <bruwutal/ui/frame.h>
+#include <bruwutal/ui/icon.h>
+#include <bruwutal/ui/image.h>
+#include <bruwutal/ui/panel.h>
+#include <bruwutal/ui/slider.h>
+#include <bruwutal/ui/spacer.h>
+#include <bruwutal/ui/splitter.h>
+#include <bruwutal/ui/switch.h>
+#include <bruwutal/ui/text.h>
diff --git a/sources/libs/brutal/ui/app.c b/sources/libs/bruwutal/ui/app.c
index 34829282..9f083f86 100644
--- a/sources/libs/brutal/ui/app.c
+++ b/sources/libs/bruwutal/ui/app.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc/global.h>
-#include <brutal/time/query.h>
-#include <brutal/ui/app.h>
-#include <brutal/ui/win.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/time/query.h>
+#include <bruwutal/ui/app.h>
+#include <bruwutal/ui/win.h>
#include <embed/app.h>
static UiApp *_instance;
diff --git a/sources/libs/brutal/ui/app.h b/sources/libs/bruwutal/ui/app.h
index 97d534f5..e2274809 100644
--- a/sources/libs/brutal/ui/app.h
+++ b/sources/libs/bruwutal/ui/app.h
@@ -1,9 +1,9 @@
#pragma once
-#include <brutal/ds/vec.h>
-#include <brutal/gfx/font.h>
-#include <brutal/ui/color.h>
-#include <brutal/ui/event.h>
+#include <bruwutal/ds/vec.h>
+#include <bruwutal/gfx/font.h>
+#include <bruwutal/ui/color.h>
+#include <bruwutal/ui/event.h>
#include <embed/app-decl.h>
typedef struct _UiWin UiWin;
diff --git a/sources/libs/brutal/ui/button.c b/sources/libs/bruwutal/ui/button.c
index baea154e..77d333a1 100644
--- a/sources/libs/brutal/ui/button.c
+++ b/sources/libs/bruwutal/ui/button.c
@@ -1,8 +1,8 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/button.h>
-#include <brutal/ui/color.h>
-#include <brutal/ui/font.h>
-#include <brutal/ui/text.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/button.h>
+#include <bruwutal/ui/color.h>
+#include <bruwutal/ui/font.h>
+#include <bruwutal/ui/text.h>
void ui_button_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/button.h b/sources/libs/bruwutal/ui/button.h
index 013c9a02..614c597f 100644
--- a/sources/libs/brutal/ui/button.h
+++ b/sources/libs/bruwutal/ui/button.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef enum
{
diff --git a/sources/libs/brutal/ui/color.c b/sources/libs/bruwutal/ui/color.c
index 1f80cff6..b3b4fb0e 100644
--- a/sources/libs/brutal/ui/color.c
+++ b/sources/libs/bruwutal/ui/color.c
@@ -1,4 +1,4 @@
-#include <brutal/ui/color.h>
+#include <bruwutal/ui/color.h>
void ui_palette_init(UiPalette *self)
{
diff --git a/sources/libs/brutal/ui/color.h b/sources/libs/bruwutal/ui/color.h
index dcb8d188..d4febc0e 100644
--- a/sources/libs/brutal/ui/color.h
+++ b/sources/libs/bruwutal/ui/color.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/gfx/color.h>
+#include <bruwutal/gfx/color.h>
#define UI_COLOR_DECL(NAME, VALUE) \
static const GfxColor UI_COLOR_##NAME = gfx_hex(VALUE);
diff --git a/sources/libs/bruwutal/ui/event.c b/sources/libs/bruwutal/ui/event.c
new file mode 100644
index 00000000..531a13f7
--- /dev/null
+++ b/sources/libs/bruwutal/ui/event.c
@@ -0,0 +1 @@
+#include <bruwutal/ui/event.h>
diff --git a/sources/libs/brutal/ui/event.h b/sources/libs/bruwutal/ui/event.h
index 96b59647..c7877dbe 100644
--- a/sources/libs/brutal/ui/event.h
+++ b/sources/libs/bruwutal/ui/event.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/input/keyboard.h>
-#include <brutal/input/mouse.h>
-#include <brutal/math/rect.h>
+#include <bruwutal/input/keyboard.h>
+#include <bruwutal/input/mouse.h>
+#include <bruwutal/math/rect.h>
enum
{
diff --git a/sources/libs/brutal/ui/font.h b/sources/libs/bruwutal/ui/font.h
index 0187d944..2286c767 100644
--- a/sources/libs/brutal/ui/font.h
+++ b/sources/libs/bruwutal/ui/font.h
@@ -1,4 +1,4 @@
-#include <brutal/gfx/font.h>
+#include <bruwutal/gfx/font.h>
static const GfxFontStyle UI_FONT_BODY = {.scale = 1, .weight = GFX_FONT_MEDIUM};
static const GfxFontStyle UI_FONT_BOLD = {.scale = 1, .weight = GFX_FONT_BOLD};
diff --git a/sources/libs/brutal/ui/frame.c b/sources/libs/bruwutal/ui/frame.c
index 7a8ed25d..84f14ebc 100644
--- a/sources/libs/brutal/ui/frame.c
+++ b/sources/libs/bruwutal/ui/frame.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/frame.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/frame.h>
UiView *ui_frame_create(void)
{
diff --git a/sources/libs/brutal/ui/frame.h b/sources/libs/bruwutal/ui/frame.h
index 321fe623..024c5d02 100644
--- a/sources/libs/brutal/ui/frame.h
+++ b/sources/libs/bruwutal/ui/frame.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/icon.c b/sources/libs/bruwutal/ui/icon.c
index 53cd0091..9155c869 100644
--- a/sources/libs/brutal/ui/icon.c
+++ b/sources/libs/bruwutal/ui/icon.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc/global.h>
-#include <brutal/alloc/heap.h>
-#include <brutal/ui/icon.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/alloc/heap.h>
+#include <bruwutal/ui/icon.h>
void ui_icon_repaint(MAYBE_UNUSED UiView *self, Gfx *gfx)
{
@@ -8,7 +8,7 @@ void ui_icon_repaint(MAYBE_UNUSED UiView *self, Gfx *gfx)
gfx_fill_rect(gfx, m_rectf(0, 0, 100, 100), 32);
gfx_fill_style(gfx, gfx_paint_fill(GFX_WHITE));
- gfx_text(gfx, m_vec2f(16, 16), str$("BRUTAL"));
+ gfx_text(gfx, m_vec2f(16, 16), str$("bruwutal"));
}
UiView *ui_icon_create(void)
diff --git a/sources/libs/brutal/ui/icon.h b/sources/libs/bruwutal/ui/icon.h
index 071b35a1..fc042d4e 100644
--- a/sources/libs/brutal/ui/icon.h
+++ b/sources/libs/bruwutal/ui/icon.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/codec/ssfn2/ssfn2.h>
-#include <brutal/ui/view.h>
+#include <bruwutal/codec/ssfn2/ssfn2.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/image.c b/sources/libs/bruwutal/ui/image.c
index 318619ca..51c76ab6 100644
--- a/sources/libs/brutal/ui/image.c
+++ b/sources/libs/bruwutal/ui/image.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/image.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/image.h>
void ui_image_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/image.h b/sources/libs/bruwutal/ui/image.h
index d67be9e6..f1111e79 100644
--- a/sources/libs/brutal/ui/image.h
+++ b/sources/libs/bruwutal/ui/image.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/layout.c b/sources/libs/bruwutal/ui/layout.c
index 276ff8d6..cf01bfc2 100644
--- a/sources/libs/brutal/ui/layout.c
+++ b/sources/libs/bruwutal/ui/layout.c
@@ -1,5 +1,5 @@
-#include <brutal/ui/layout.h>
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/layout.h>
+#include <bruwutal/ui/view.h>
/* --- Compute Size --------------------------------------------------------- */
diff --git a/sources/libs/brutal/ui/layout.h b/sources/libs/bruwutal/ui/layout.h
index b342755a..5445d6be 100644
--- a/sources/libs/brutal/ui/layout.h
+++ b/sources/libs/bruwutal/ui/layout.h
@@ -1,12 +1,12 @@
#pragma once
-#include <brutal/gfx/color.h>
-#include <brutal/gfx/font.h>
-#include <brutal/math/dock.h>
-#include <brutal/math/flow.h>
-#include <brutal/math/gravity.h>
-#include <brutal/math/rect.h>
-#include <brutal/math/spacing.h>
+#include <bruwutal/gfx/color.h>
+#include <bruwutal/gfx/font.h>
+#include <bruwutal/math/dock.h>
+#include <bruwutal/math/flow.h>
+#include <bruwutal/math/gravity.h>
+#include <bruwutal/math/rect.h>
+#include <bruwutal/math/spacing.h>
struct _UiView;
diff --git a/sources/libs/brutal/ui/panel.c b/sources/libs/bruwutal/ui/panel.c
index b00e93d9..7c979296 100644
--- a/sources/libs/brutal/ui/panel.c
+++ b/sources/libs/bruwutal/ui/panel.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/panel.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/panel.h>
void ui_panel_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/panel.h b/sources/libs/bruwutal/ui/panel.h
index efd1088c..ba3e7fde 100644
--- a/sources/libs/brutal/ui/panel.h
+++ b/sources/libs/bruwutal/ui/panel.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/parser.c b/sources/libs/bruwutal/ui/parser.c
index a6d45842..575fbafa 100644
--- a/sources/libs/brutal/ui/parser.c
+++ b/sources/libs/bruwutal/ui/parser.c
@@ -1,7 +1,7 @@
-#include <brutal/debug/assert.h>
-#include <brutal/io/std.h>
-#include <brutal/parse/nums.h>
-#include <brutal/ui/parser.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/io/std.h>
+#include <bruwutal/parse/nums.h>
+#include <bruwutal/ui/parser.h>
#define FOR_EACH_KEYWORDS(KEYWORD) \
KEYWORD(UNKNOW) \
diff --git a/sources/libs/brutal/ui/parser.h b/sources/libs/bruwutal/ui/parser.h
index 8a6e38c1..5f8723a2 100644
--- a/sources/libs/brutal/ui/parser.h
+++ b/sources/libs/bruwutal/ui/parser.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/parse/scan.h>
-#include <brutal/ui/layout.h>
+#include <bruwutal/parse/scan.h>
+#include <bruwutal/ui/layout.h>
void ui_parse_layout(UiLayout *layout, Scan *scan);
diff --git a/sources/libs/brutal/ui/slider.c b/sources/libs/bruwutal/ui/slider.c
index 6560fa92..1774e25a 100644
--- a/sources/libs/brutal/ui/slider.c
+++ b/sources/libs/bruwutal/ui/slider.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/slider.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/slider.h>
void ui_slider_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/slider.h b/sources/libs/bruwutal/ui/slider.h
index e96e3eb2..57aec864 100644
--- a/sources/libs/brutal/ui/slider.h
+++ b/sources/libs/bruwutal/ui/slider.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/spacer.c b/sources/libs/bruwutal/ui/spacer.c
index 3729ddad..1b0e19ff 100644
--- a/sources/libs/brutal/ui/spacer.c
+++ b/sources/libs/bruwutal/ui/spacer.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/spacer.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/spacer.h>
UiView *ui_spacer_create(void)
{
diff --git a/sources/libs/brutal/ui/spacer.h b/sources/libs/bruwutal/ui/spacer.h
index 0281fb27..08f46b08 100644
--- a/sources/libs/brutal/ui/spacer.h
+++ b/sources/libs/bruwutal/ui/spacer.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/splitter.c b/sources/libs/bruwutal/ui/splitter.c
index a1c773d7..e399296d 100644
--- a/sources/libs/brutal/ui/splitter.c
+++ b/sources/libs/bruwutal/ui/splitter.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/splitter.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/splitter.h>
void ui_splitter_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/splitter.h b/sources/libs/bruwutal/ui/splitter.h
index cbba562f..9c9542ee 100644
--- a/sources/libs/brutal/ui/splitter.h
+++ b/sources/libs/bruwutal/ui/splitter.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/switch.c b/sources/libs/bruwutal/ui/switch.c
index 0c8720d9..073492bf 100644
--- a/sources/libs/brutal/ui/switch.c
+++ b/sources/libs/bruwutal/ui/switch.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/switch.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/switch.h>
void ui_switch_repaint(UiView *self, Gfx *gfx)
{
diff --git a/sources/libs/brutal/ui/switch.h b/sources/libs/bruwutal/ui/switch.h
index ef47b018..2575faf9 100644
--- a/sources/libs/brutal/ui/switch.h
+++ b/sources/libs/bruwutal/ui/switch.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/text.c b/sources/libs/bruwutal/ui/text.c
index 8e3f7953..a7ab811b 100644
--- a/sources/libs/brutal/ui/text.c
+++ b/sources/libs/bruwutal/ui/text.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/app.h>
-#include <brutal/ui/text.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/app.h>
+#include <bruwutal/ui/text.h>
GfxFontMeasure ui_text_measure(UiView *self)
{
diff --git a/sources/libs/brutal/ui/text.h b/sources/libs/bruwutal/ui/text.h
index 87e0c9e4..db7e4c25 100644
--- a/sources/libs/brutal/ui/text.h
+++ b/sources/libs/bruwutal/ui/text.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/view.h>
+#include <bruwutal/ui/view.h>
typedef struct
{
diff --git a/sources/libs/brutal/ui/view.c b/sources/libs/bruwutal/ui/view.c
index a1379cec..6288b3b0 100644
--- a/sources/libs/brutal/ui/view.c
+++ b/sources/libs/bruwutal/ui/view.c
@@ -1,8 +1,8 @@
-#include <brutal/alloc/global.h>
-#include <brutal/ui/app.h>
-#include <brutal/ui/parser.h>
-#include <brutal/ui/view.h>
-#include <brutal/ui/win.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/ui/app.h>
+#include <bruwutal/ui/parser.h>
+#include <bruwutal/ui/view.h>
+#include <bruwutal/ui/win.h>
/* --- Lifecycle ------------------------------------------------------------ */
diff --git a/sources/libs/brutal/ui/view.h b/sources/libs/bruwutal/ui/view.h
index e760e583..c712879d 100644
--- a/sources/libs/brutal/ui/view.h
+++ b/sources/libs/bruwutal/ui/view.h
@@ -1,10 +1,10 @@
#pragma once
-#include <brutal/gfx/gfx.h>
-#include <brutal/io/emit.h>
-#include <brutal/ui/color.h>
-#include <brutal/ui/event.h>
-#include <brutal/ui/layout.h>
+#include <bruwutal/gfx/gfx.h>
+#include <bruwutal/io/emit.h>
+#include <bruwutal/ui/color.h>
+#include <bruwutal/ui/event.h>
+#include <bruwutal/ui/layout.h>
#define UI_VIEW_VISIBLE (1 << 0)
#define UI_VIEW_ENABLED (1 << 1)
diff --git a/sources/libs/brutal/ui/win.c b/sources/libs/bruwutal/ui/win.c
index 31040ef6..4cd13979 100644
--- a/sources/libs/brutal/ui/win.c
+++ b/sources/libs/bruwutal/ui/win.c
@@ -1,8 +1,8 @@
-#include <brutal/alloc/global.h>
-#include <brutal/debug/assert.h>
-#include <brutal/ui/app.h>
-#include <brutal/ui/view.h>
-#include <brutal/ui/win.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/ui/app.h>
+#include <bruwutal/ui/view.h>
+#include <bruwutal/ui/win.h>
#include <embed/win.h>
/* --- Lifecycle ------------------------------------------------------------ */
diff --git a/sources/libs/brutal/ui/win.h b/sources/libs/bruwutal/ui/win.h
index 3f1df600..265d42fc 100644
--- a/sources/libs/brutal/ui/win.h
+++ b/sources/libs/bruwutal/ui/win.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/gfx/gfx.h>
-#include <brutal/ui/event.h>
+#include <bruwutal/gfx/gfx.h>
+#include <bruwutal/ui/event.h>
#include <embed/win-decl.h>
typedef struct _UiApp UiApp;
diff --git a/sources/libs/bvm/ctx/global.h b/sources/libs/bvm/ctx/global.h
index b31f5048..f0590efa 100644
--- a/sources/libs/bvm/ctx/global.h
+++ b/sources/libs/bvm/ctx/global.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <bvm/eval/instr.h>
#include <bvm/obj/val.h>
diff --git a/sources/libs/bvm/ctx/local.c b/sources/libs/bvm/ctx/local.c
index 34135b93..4f2a7221 100644
--- a/sources/libs/bvm/ctx/local.c
+++ b/sources/libs/bvm/ctx/local.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <bvm/ctx/local.h>
#include <bvm/obj/func.h>
diff --git a/sources/libs/bvm/eval/eval.c b/sources/libs/bvm/eval/eval.c
index 7ebc1a5f..ac9f2dfb 100644
--- a/sources/libs/bvm/eval/eval.c
+++ b/sources/libs/bvm/eval/eval.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <bvm/eval/eval.h>
#include <bvm/obj/func.h>
#include <bvm/obj/obj.h>
diff --git a/sources/libs/bvm/eval/instr.h b/sources/libs/bvm/eval/instr.h
index a6556516..024ff85d 100644
--- a/sources/libs/bvm/eval/instr.h
+++ b/sources/libs/bvm/eval/instr.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define BVM_FOREACH_OP \
ITER(NOP) \
diff --git a/sources/libs/bvm/obj/func.h b/sources/libs/bvm/obj/func.h
index 708a28e0..d37d74c9 100644
--- a/sources/libs/bvm/obj/func.h
+++ b/sources/libs/bvm/obj/func.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <bvm/eval/instr.h>
#include <bvm/obj/val.h>
diff --git a/sources/libs/bvm/obj/val.c b/sources/libs/bvm/obj/val.c
index 6b76da7a..ef923bfe 100644
--- a/sources/libs/bvm/obj/val.c
+++ b/sources/libs/bvm/obj/val.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <bvm/obj/val.h>
BvmVal bvm_val_nil(void)
diff --git a/sources/libs/bvm/obj/val.h b/sources/libs/bvm/obj/val.h
index 874ff2e2..caf1299b 100644
--- a/sources/libs/bvm/obj/val.h
+++ b/sources/libs/bvm/obj/val.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef struct _BvmObj BvmObj;
typedef struct _BvmFunc BvmFunc;
diff --git a/sources/libs/cc/ast/decl.h b/sources/libs/cc/ast/decl.h
index be00e1fd..eeb2cfb7 100644
--- a/sources/libs/cc/ast/decl.h
+++ b/sources/libs/cc/ast/decl.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <cc/ast/expr.h>
#include <cc/ast/stmt.h>
#include <cc/ast/type.h>
diff --git a/sources/libs/cc/ast/expr.h b/sources/libs/cc/ast/expr.h
index 8f2d2a19..e02dc1c8 100644
--- a/sources/libs/cc/ast/expr.h
+++ b/sources/libs/cc/ast/expr.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <cc/ast/type.h>
#include <cc/ast/val.h>
diff --git a/sources/libs/cc/ast/stmt.h b/sources/libs/cc/ast/stmt.h
index 09d8a6e4..c2c52340 100644
--- a/sources/libs/cc/ast/stmt.h
+++ b/sources/libs/cc/ast/stmt.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base.h>
-#include <brutal/ds.h>
+#include <bruwutal/base.h>
+#include <bruwutal/ds.h>
#include <cc/ast/expr.h>
typedef enum
{
diff --git a/sources/libs/cc/ast/type.h b/sources/libs/cc/ast/type.h
index 4e342e62..caf89dfd 100644
--- a/sources/libs/cc/ast/type.h
+++ b/sources/libs/cc/ast/type.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <cc/ast/val.h>
typedef enum
diff --git a/sources/libs/cc/ast/val.h b/sources/libs/cc/ast/val.h
index 1a7098e5..0ca92f4e 100644
--- a/sources/libs/cc/ast/val.h
+++ b/sources/libs/cc/ast/val.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef int CSigned;
typedef unsigned int CUnsigned;
diff --git a/sources/libs/cc/builder/expr.c b/sources/libs/cc/builder/expr.c
index b185031c..a1e508c4 100644
--- a/sources/libs/cc/builder/expr.c
+++ b/sources/libs/cc/builder/expr.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/builder/expr.h>
CExpr cexpr_empty(void)
diff --git a/sources/libs/cc/builder/stmt.c b/sources/libs/cc/builder/stmt.c
index 47a16801..34f42e0a 100644
--- a/sources/libs/cc/builder/stmt.c
+++ b/sources/libs/cc/builder/stmt.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/builder/stmt.h>
CStmt cstmt_empty(void)
diff --git a/sources/libs/cc/builder/type.c b/sources/libs/cc/builder/type.c
index 070d4caf..8fd33fad 100644
--- a/sources/libs/cc/builder/type.c
+++ b/sources/libs/cc/builder/type.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/builder/type.h>
CType ctype_error(void)
diff --git a/sources/libs/cc/dump.h b/sources/libs/cc/dump.h
index 7be99c54..e259f701 100644
--- a/sources/libs/cc/dump.h
+++ b/sources/libs/cc/dump.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <cc/ast/unit.h>
#include <json/objects.h>
diff --git a/sources/libs/cc/dump/dump.c b/sources/libs/cc/dump/dump.c
index edea6cca..d1d97125 100644
--- a/sources/libs/cc/dump/dump.c
+++ b/sources/libs/cc/dump/dump.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/dump.h>
#include <json/objects.h>
diff --git a/sources/libs/cc/lex/lexer.c b/sources/libs/cc/lex/lexer.c
index fba88db6..f215fcde 100644
--- a/sources/libs/cc/lex/lexer.c
+++ b/sources/libs/cc/lex/lexer.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/lex/lexer.h>
struct
diff --git a/sources/libs/cc/lex/lexer.h b/sources/libs/cc/lex/lexer.h
index 9cf444df..65081ff3 100644
--- a/sources/libs/cc/lex/lexer.h
+++ b/sources/libs/cc/lex/lexer.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/parse.h>
+#include <bruwutal/parse.h>
#include <cc/lex/lexemes.h>
// clang-format off
diff --git a/sources/libs/cc/lex/pproc.c b/sources/libs/cc/lex/pproc.c
index 9df0ac0c..d3c37bb4 100644
--- a/sources/libs/cc/lex/pproc.c
+++ b/sources/libs/cc/lex/pproc.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/lex/pproc.h>
#include <cc/parse/parser.h>
diff --git a/sources/libs/cc/lex/pproc.h b/sources/libs/cc/lex/pproc.h
index 2493b2cb..b6b5c4dc 100644
--- a/sources/libs/cc/lex/pproc.h
+++ b/sources/libs/cc/lex/pproc.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <cc/lex/lexer.h>
typedef Vec(Lexemes) MacroArgsCodes;
diff --git a/sources/libs/cc/parse/decl.c b/sources/libs/cc/parse/decl.c
index 36776228..027aa010 100644
--- a/sources/libs/cc/parse/decl.c
+++ b/sources/libs/cc/parse/decl.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/parse/parser.h>
void cparse_func_params(Lex *lex, CType *type, Alloc *alloc)
diff --git a/sources/libs/cc/parse/expr.c b/sources/libs/cc/parse/expr.c
index e3faff23..7f0bdedf 100644
--- a/sources/libs/cc/parse/expr.c
+++ b/sources/libs/cc/parse/expr.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/parse.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/parse.h>
#include <cc/builder.h>
#include <cc/parse/parser.h>
diff --git a/sources/libs/cc/parse/stmt.c b/sources/libs/cc/parse/stmt.c
index b7db1b4b..23e0c526 100644
--- a/sources/libs/cc/parse/stmt.c
+++ b/sources/libs/cc/parse/stmt.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/parse/parser.h>
CStmt cparse_stmt(Lex *lex, CUnit *context, Alloc *alloc)
diff --git a/sources/libs/cc/sema/visit.c b/sources/libs/cc/sema/visit.c
index d5b597c0..6abb6736 100644
--- a/sources/libs/cc/sema/visit.c
+++ b/sources/libs/cc/sema/visit.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/builder.h>
#include <cc/sema/visit.h>
diff --git a/sources/libs/cc/trans.h b/sources/libs/cc/trans.h
index e823fd4b..9b060aa7 100644
--- a/sources/libs/cc/trans.h
+++ b/sources/libs/cc/trans.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <cc/ast/unit.h>
void cc_trans_decl(Emit *emit, CDecl decl);
diff --git a/sources/libs/cc/trans/expr.c b/sources/libs/cc/trans/expr.c
index 3c0d3125..1a93129a 100644
--- a/sources/libs/cc/trans/expr.c
+++ b/sources/libs/cc/trans/expr.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/trans.h>
static void cc_trans_op_fix(Emit *emit, COp op)
diff --git a/sources/libs/cc/trans/val.c b/sources/libs/cc/trans/val.c
index aac13133..8cb79c74 100644
--- a/sources/libs/cc/trans/val.c
+++ b/sources/libs/cc/trans/val.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/trans.h>
void cc_trans_value(Emit *emit, CVal value)
diff --git a/sources/libs/elf/elf.c b/sources/libs/elf/elf.c
index 09188146..afef1371 100644
--- a/sources/libs/elf/elf.c
+++ b/sources/libs/elf/elf.c
@@ -22,7 +22,7 @@ Str elf_string(Elf64Header const *header, size_t offset)
Str elf_manifest(Elf64Header const *header)
{
- Elf64SectionHeader const *manifest_section = elf_section_by_name(header, str$(".brutal.manifest"));
+ Elf64SectionHeader const *manifest_section = elf_section_by_name(header, str$(".bruwutal.manifest"));
if (!manifest_section)
{
diff --git a/sources/libs/elf/elf.h b/sources/libs/elf/elf.h
index 4aa8ba14..9ecb4b24 100644
--- a/sources/libs/elf/elf.h
+++ b/sources/libs/elf/elf.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define ELF_HEADER_MAGIC "\177ELF"
diff --git a/sources/libs/embed/app-decl.h b/sources/libs/embed/app-decl.h
index c87434dc..b2538242 100644
--- a/sources/libs/embed/app-decl.h
+++ b/sources/libs/embed/app-decl.h
@@ -1,11 +1,11 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#if defined(SYSTEM_SDL)
# include <embed/sdl/app.h>
-#elif defined(SYSTEM_BRUTAL)
-# include <embed/brutal/app.h>
+#elif defined(SYSTEM_bruwutal)
+# include <embed/bruwutal/app.h>
#else
# error "Unsupported embedder!"
#endif
diff --git a/sources/libs/embed/app.h b/sources/libs/embed/app.h
index 303525ca..2b8536c2 100644
--- a/sources/libs/embed/app.h
+++ b/sources/libs/embed/app.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui/app.h>
+#include <bruwutal/ui/app.h>
void embed_app_init(UiApp *self);
diff --git a/sources/libs/embed/brutal/app.c b/sources/libs/embed/bruwutal/app.c
index 78e9fcbf..78e9fcbf 100644
--- a/sources/libs/embed/brutal/app.c
+++ b/sources/libs/embed/bruwutal/app.c
diff --git a/sources/libs/embed/brutal/app.h b/sources/libs/embed/bruwutal/app.h
index 892be940..892be940 100644
--- a/sources/libs/embed/brutal/app.h
+++ b/sources/libs/embed/bruwutal/app.h
diff --git a/sources/libs/embed/brutal/chan.c b/sources/libs/embed/bruwutal/chan.c
index a12df505..3d12e6cd 100644
--- a/sources/libs/embed/brutal/chan.c
+++ b/sources/libs/embed/bruwutal/chan.c
@@ -1,7 +1,7 @@
#include <bal/abi.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <embed/chan.h>
IoResult embed_chan_read(IoChan channel, uint8_t *data, size_t size)
diff --git a/sources/libs/embed/brutal/debug.c b/sources/libs/embed/bruwutal/debug.c
index aa14a335..aa14a335 100644
--- a/sources/libs/embed/brutal/debug.c
+++ b/sources/libs/embed/bruwutal/debug.c
diff --git a/sources/libs/embed/brutal/entry.c b/sources/libs/embed/bruwutal/entry.c
index 73f3d213..657d6343 100644
--- a/sources/libs/embed/brutal/entry.c
+++ b/sources/libs/embed/bruwutal/entry.c
@@ -1,8 +1,8 @@
#include <bal/abi.h>
#include <bal/boot.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/fibers.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/fibers.h>
#include <ipc/ipc.h>
WEAK int main(int, char **)
diff --git a/sources/libs/embed/brutal/file.c b/sources/libs/embed/bruwutal/file.c
index b4dc09e5..47495b73 100644
--- a/sources/libs/embed/brutal/file.c
+++ b/sources/libs/embed/bruwutal/file.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/file.h>
MaybeError embed_file_open(IoFile *, Str, FileInitFlags)
diff --git a/sources/libs/embed/brutal/file.h b/sources/libs/embed/bruwutal/file.h
index e4ef6653..e4ef6653 100644
--- a/sources/libs/embed/brutal/file.h
+++ b/sources/libs/embed/bruwutal/file.h
diff --git a/sources/libs/embed/brutal/log.c b/sources/libs/embed/bruwutal/log.c
index b0170b25..39306f63 100644
--- a/sources/libs/embed/brutal/log.c
+++ b/sources/libs/embed/bruwutal/log.c
@@ -1,7 +1,7 @@
#include <bal/abi.h>
-#include <brutal/alloc/global.h>
-#include <brutal/io/buf.h>
-#include <brutal/sync.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/io/buf.h>
+#include <bruwutal/sync.h>
#include <embed/log.h>
static bool _initialized = false;
diff --git a/sources/libs/embed/brutal/mem.c b/sources/libs/embed/bruwutal/mem.c
index a4f0d53c..a4f0d53c 100644
--- a/sources/libs/embed/brutal/mem.c
+++ b/sources/libs/embed/bruwutal/mem.c
diff --git a/sources/libs/embed/brutal/sync.c b/sources/libs/embed/bruwutal/sync.c
index 7ba31a82..7ba31a82 100644
--- a/sources/libs/embed/brutal/sync.c
+++ b/sources/libs/embed/bruwutal/sync.c
diff --git a/sources/libs/embed/brutal/task.c b/sources/libs/embed/bruwutal/task.c
index 4bc25c79..acd06b76 100644
--- a/sources/libs/embed/brutal/task.c
+++ b/sources/libs/embed/bruwutal/task.c
@@ -1,5 +1,5 @@
#include <bal/abi.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/task.h>
TaskId embed_task_self(void)
diff --git a/sources/libs/embed/brutal/time.c b/sources/libs/embed/bruwutal/time.c
index 87bed2c6..87bed2c6 100644
--- a/sources/libs/embed/brutal/time.c
+++ b/sources/libs/embed/bruwutal/time.c
diff --git a/sources/libs/embed/brutal/win.c b/sources/libs/embed/bruwutal/win.c
index 52f617d8..523cb448 100644
--- a/sources/libs/embed/brutal/win.c
+++ b/sources/libs/embed/bruwutal/win.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include <embed/win.h>
#include <protos/event.h>
#include <protos/window.h>
diff --git a/sources/libs/embed/brutal/win.h b/sources/libs/embed/bruwutal/win.h
index d42b32bd..d42b32bd 100644
--- a/sources/libs/embed/brutal/win.h
+++ b/sources/libs/embed/bruwutal/win.h
diff --git a/sources/libs/embed/brutal/x86_64/crt0.s b/sources/libs/embed/bruwutal/x86_64/crt0.s
index 6893e5c0..6893e5c0 100644
--- a/sources/libs/embed/brutal/x86_64/crt0.s
+++ b/sources/libs/embed/bruwutal/x86_64/crt0.s
diff --git a/sources/libs/embed/brutal/x86_64/crti.s b/sources/libs/embed/bruwutal/x86_64/crti.s
index 61bc74bc..61bc74bc 100644
--- a/sources/libs/embed/brutal/x86_64/crti.s
+++ b/sources/libs/embed/bruwutal/x86_64/crti.s
diff --git a/sources/libs/embed/brutal/x86_64/crtn.s b/sources/libs/embed/bruwutal/x86_64/crtn.s
index 97c14c5a..97c14c5a 100644
--- a/sources/libs/embed/brutal/x86_64/crtn.s
+++ b/sources/libs/embed/bruwutal/x86_64/crtn.s
diff --git a/sources/libs/embed/chan.h b/sources/libs/embed/chan.h
index 207bb076..64ef84a7 100644
--- a/sources/libs/embed/chan.h
+++ b/sources/libs/embed/chan.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/std.h>
+#include <bruwutal/io/std.h>
IoResult embed_chan_read(IoChan channel, uint8_t *data, size_t size);
diff --git a/sources/libs/embed/debug.h b/sources/libs/embed/debug.h
index 1772626c..9996e4e1 100644
--- a/sources/libs/embed/debug.h
+++ b/sources/libs/embed/debug.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base.h>
-#include <brutal/io.h>
+#include <bruwutal/base.h>
+#include <bruwutal/io.h>
void embed_log_prefix(IoWriter writer);
diff --git a/sources/libs/embed/efi/chan.c b/sources/libs/embed/efi/chan.c
index 5c494d00..22d2d10b 100644
--- a/sources/libs/embed/efi/chan.c
+++ b/sources/libs/embed/efi/chan.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <efi/lib.h>
#include <efi/protos.h>
#include <embed/chan.h>
diff --git a/sources/libs/embed/efi/file.c b/sources/libs/embed/efi/file.c
index 8de3c9ec..f3ef52be 100644
--- a/sources/libs/embed/efi/file.c
+++ b/sources/libs/embed/efi/file.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug/assert.h>
-#include <brutal/text/utf16.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug/assert.h>
+#include <bruwutal/text/utf16.h>
#include <efi/lib.h>
#include <efi/protos.h>
#include <embed/file.h>
diff --git a/sources/libs/embed/efi/log.c b/sources/libs/embed/efi/log.c
index 8000f143..d6f8e860 100644
--- a/sources/libs/embed/efi/log.c
+++ b/sources/libs/embed/efi/log.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/text/utf16.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/text/utf16.h>
#include <efi/lib.h>
#include <embed/log.h>
diff --git a/sources/libs/embed/efi/mem.c b/sources/libs/embed/efi/mem.c
index 9070888c..80715f24 100644
--- a/sources/libs/embed/efi/mem.c
+++ b/sources/libs/embed/efi/mem.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <efi/lib.h>
#include <efi/srvs/bs.h>
#include <embed/mem.h>
diff --git a/sources/libs/embed/file-decl.h b/sources/libs/embed/file-decl.h
index 222186a8..4d1da27e 100644
--- a/sources/libs/embed/file-decl.h
+++ b/sources/libs/embed/file-decl.h
@@ -1,13 +1,13 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#if defined(SYSTEM_EFI)
# include <embed/efi/file.h>
#elif defined(SYSTEM_POSIX)
# include <embed/posix/file.h>
-#elif defined(SYSTEM_BRUTAL)
-# include <embed/brutal/file.h>
+#elif defined(SYSTEM_bruwutal)
+# include <embed/bruwutal/file.h>
#elif defined(SYSTEM_KERNEL)
# include <embed/kernel/file.h>
#else
diff --git a/sources/libs/embed/file.h b/sources/libs/embed/file.h
index 036cf8ca..d3e22190 100644
--- a/sources/libs/embed/file.h
+++ b/sources/libs/embed/file.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io/file.h>
+#include <bruwutal/io/file.h>
MaybeError embed_file_create(IoFile *self, Str path);
diff --git a/sources/libs/embed/kernel/log.c b/sources/libs/embed/kernel/log.c
index 0f605221..4a339e02 100644
--- a/sources/libs/embed/kernel/log.c
+++ b/sources/libs/embed/kernel/log.c
@@ -1,4 +1,4 @@
-#include <brutal/sync.h>
+#include <bruwutal/sync.h>
#include <embed/log.h>
#include "kernel/arch.h"
diff --git a/sources/libs/embed/kernel/mem.c b/sources/libs/embed/kernel/mem.c
index 84e10114..d26fed0c 100644
--- a/sources/libs/embed/kernel/mem.c
+++ b/sources/libs/embed/kernel/mem.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/sync.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/sync.h>
#include <embed/mem.h>
#include "kernel/heap.h"
diff --git a/sources/libs/embed/log.h b/sources/libs/embed/log.h
index 02f5a6f7..f6286085 100644
--- a/sources/libs/embed/log.h
+++ b/sources/libs/embed/log.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
void embed_log_lock(void);
diff --git a/sources/libs/embed/mem.h b/sources/libs/embed/mem.h
index fee95a58..50e0a9ec 100644
--- a/sources/libs/embed/mem.h
+++ b/sources/libs/embed/mem.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#if defined(__x86_64__)
# define EMBED_HAS_MEMSET 1
diff --git a/sources/libs/embed/posix/chan.c b/sources/libs/embed/posix/chan.c
index 4b2c2dc4..7ed6f066 100644
--- a/sources/libs/embed/posix/chan.c
+++ b/sources/libs/embed/posix/chan.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/chan.h>
#include <embed/posix/err.h>
#include <unistd.h>
diff --git a/sources/libs/embed/posix/err.c b/sources/libs/embed/posix/err.c
index a7fa198f..77ad2624 100644
--- a/sources/libs/embed/posix/err.c
+++ b/sources/libs/embed/posix/err.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/posix/err.h>
#include <errno.h>
#include <string.h>
diff --git a/sources/libs/embed/posix/err.h b/sources/libs/embed/posix/err.h
index c2a1ffd3..4ad7da41 100644
--- a/sources/libs/embed/posix/err.h
+++ b/sources/libs/embed/posix/err.h
@@ -1,5 +1,5 @@
#pragma once
-#include <brutal/base/error.h>
+#include <bruwutal/base/error.h>
Error error_from_errno(void);
diff --git a/sources/libs/embed/posix/file.c b/sources/libs/embed/posix/file.c
index a811d8dc..0a642cb0 100644
--- a/sources/libs/embed/posix/file.c
+++ b/sources/libs/embed/posix/file.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/text/utf8.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text/utf8.h>
#include <embed/file.h>
#include <embed/posix/err.h>
#include <fcntl.h>
diff --git a/sources/libs/embed/posix/log.c b/sources/libs/embed/posix/log.c
index 21120667..8fd7ce5b 100644
--- a/sources/libs/embed/posix/log.c
+++ b/sources/libs/embed/posix/log.c
@@ -1,4 +1,4 @@
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <embed/log.h>
#include <errno.h>
#include <stdio.h>
diff --git a/sources/libs/embed/posix/mem.c b/sources/libs/embed/posix/mem.c
index 2691dd5e..16765a79 100644
--- a/sources/libs/embed/posix/mem.c
+++ b/sources/libs/embed/posix/mem.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/mem.h>
#include <embed/posix/err.h>
#include <string.h>
diff --git a/sources/libs/embed/posix/time.c b/sources/libs/embed/posix/time.c
index 269e12e2..b683f5e0 100644
--- a/sources/libs/embed/posix/time.c
+++ b/sources/libs/embed/posix/time.c
@@ -1,4 +1,4 @@
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <embed/time.h>
#include <time.h>
diff --git a/sources/libs/embed/sdl/app.c b/sources/libs/embed/sdl/app.c
index f90b6052..b9140971 100644
--- a/sources/libs/embed/sdl/app.c
+++ b/sources/libs/embed/sdl/app.c
@@ -1,5 +1,5 @@
#include <SDL.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <embed/app.h>
#include <embed/win.h>
diff --git a/sources/libs/embed/sdl/win.c b/sources/libs/embed/sdl/win.c
index 452aed85..8e37063c 100644
--- a/sources/libs/embed/sdl/win.c
+++ b/sources/libs/embed/sdl/win.c
@@ -4,7 +4,7 @@
void embed_win_init(UiWin *self, MRectf bound)
{
self->embed.sdl_window = SDL_CreateWindow(
- "BRUTAL",
+ "bruwutal",
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
bound.width,
diff --git a/sources/libs/embed/task.h b/sources/libs/embed/task.h
index e99aaf79..174a1b48 100644
--- a/sources/libs/embed/task.h
+++ b/sources/libs/embed/task.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/task/task.h>
+#include <bruwutal/task/task.h>
TaskId embed_task_self(void);
diff --git a/sources/libs/embed/time.h b/sources/libs/embed/time.h
index 683b1e77..d1ca63b4 100644
--- a/sources/libs/embed/time.h
+++ b/sources/libs/embed/time.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/time/types.h>
+#include <bruwutal/time/types.h>
Tick embed_time_current_tick(void);
diff --git a/sources/libs/embed/win-decl.h b/sources/libs/embed/win-decl.h
index e56f61fc..02158fa0 100644
--- a/sources/libs/embed/win-decl.h
+++ b/sources/libs/embed/win-decl.h
@@ -1,11 +1,11 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#if defined(SYSTEM_SDL)
# include <embed/sdl/win.h>
-#elif defined(SYSTEM_BRUTAL)
-# include <embed/brutal/win.h>
+#elif defined(SYSTEM_bruwutal)
+# include <embed/bruwutal/win.h>
#else
# error "Unsupported embedder!"
#endif
diff --git a/sources/libs/embed/win.h b/sources/libs/embed/win.h
index e5acabcb..a2d832d7 100644
--- a/sources/libs/embed/win.h
+++ b/sources/libs/embed/win.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
void embed_win_init(UiWin *self, MRectf bound);
diff --git a/sources/libs/fs/block.c b/sources/libs/fs/block.c
index b3420385..daa938f2 100644
--- a/sources/libs/fs/block.c
+++ b/sources/libs/fs/block.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <fs/block.h>
FsBlockResult fs_block_acquire(FsBlockImpl *self, void **buf, size_t count, size_t lba, FsBlockFlags flags)
diff --git a/sources/libs/fs/block.h b/sources/libs/fs/block.h
index badf706d..139133fb 100644
--- a/sources/libs/fs/block.h
+++ b/sources/libs/fs/block.h
@@ -1,8 +1,8 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/io.h>
-#include <brutal/mem.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/io.h>
+#include <bruwutal/mem.h>
typedef enum
{
diff --git a/sources/libs/fs/ext2/block.c b/sources/libs/fs/ext2/block.c
index 4166980f..5f9ca6b6 100644
--- a/sources/libs/fs/ext2/block.c
+++ b/sources/libs/fs/ext2/block.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <fs/ext2/block.h>
#include <fs/ext2/ext2.h>
diff --git a/sources/libs/fs/ext2/ext2.c b/sources/libs/fs/ext2/ext2.c
index cbab033a..a2fbbed6 100644
--- a/sources/libs/fs/ext2/ext2.c
+++ b/sources/libs/fs/ext2/ext2.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/math.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/math.h>
#include <fs/ext2/block.h>
#include <fs/ext2/cache.h>
#include <fs/ext2/ext2.h>
diff --git a/sources/libs/fs/ext2/structure.c b/sources/libs/fs/ext2/structure.c
index f58101c0..66cffc8a 100644
--- a/sources/libs/fs/ext2/structure.c
+++ b/sources/libs/fs/ext2/structure.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <fs/ext2/structure.h>
static void ext2_dump_ro_features(Ext2SuperBlock *superblock)
diff --git a/sources/libs/fs/ext2/structure.h b/sources/libs/fs/ext2/structure.h
index 62217a40..0727b26a 100644
--- a/sources/libs/fs/ext2/structure.h
+++ b/sources/libs/fs/ext2/structure.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define EXT2_SIGNATURE 0xef53
@@ -27,7 +27,7 @@ typedef enum
EXT2_OS_MASIX = 2,
EXT2_OS_FREEBSD = 3,
EXT2_OS_LITES = 4,
- /* EXT2_OS_BRUTAL = 5, one day maybe ? */
+ /* EXT2_OS_bruwutal = 5, one day maybe ? */
} Ext2FsOSId;
typedef enum
diff --git a/sources/libs/hw/acpi/base.c b/sources/libs/hw/acpi/base.c
index 13cb2059..672dc6d5 100644
--- a/sources/libs/hw/acpi/base.c
+++ b/sources/libs/hw/acpi/base.c
@@ -1,6 +1,6 @@
#include <acpi/base.h>
#include <acpi/rsdt.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#ifdef __kernel__
diff --git a/sources/libs/hw/acpi/base.h b/sources/libs/hw/acpi/base.h
index 889dcfda..598f407c 100644
--- a/sources/libs/hw/acpi/base.h
+++ b/sources/libs/hw/acpi/base.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#ifndef __kernel__
# include <bal/hw.h>
#endif
diff --git a/sources/libs/hw/acpi/rsdt.c b/sources/libs/hw/acpi/rsdt.c
index eb2a84a3..02cc3dec 100644
--- a/sources/libs/hw/acpi/rsdt.c
+++ b/sources/libs/hw/acpi/rsdt.c
@@ -1,5 +1,5 @@
#include <acpi/rsdt.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
Iter acpi_rsdt_iterate(
Acpi *acpi,
diff --git a/sources/libs/hw/acpi/stdh.h b/sources/libs/hw/acpi/stdh.h
index 32ac579f..47e5b985 100644
--- a/sources/libs/hw/acpi/stdh.h
+++ b/sources/libs/hw/acpi/stdh.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base.h>
-#include <brutal/text.h>
+#include <bruwutal/base.h>
+#include <bruwutal/text.h>
typedef struct PACKED
{
diff --git a/sources/libs/hw/ahci/ahci.c b/sources/libs/hw/ahci/ahci.c
index 96459b30..7181ab40 100644
--- a/sources/libs/hw/ahci/ahci.c
+++ b/sources/libs/hw/ahci/ahci.c
@@ -1,6 +1,6 @@
#include <ahci/ahci.h>
#include <ahci/device.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
static HbaPortSig ahci_device_type(HbaPort *port)
{
diff --git a/sources/libs/hw/ahci/ahci.h b/sources/libs/hw/ahci/ahci.h
index e0b7b39c..7d118cc8 100644
--- a/sources/libs/hw/ahci/ahci.h
+++ b/sources/libs/hw/ahci/ahci.h
@@ -2,7 +2,7 @@
#include <ahci/device.h>
#include <ahci/hba.h>
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <pci/pci.h>
typedef struct
diff --git a/sources/libs/hw/ahci/device.c b/sources/libs/hw/ahci/device.c
index 0cf0d7ae..1e64c37d 100644
--- a/sources/libs/hw/ahci/device.c
+++ b/sources/libs/hw/ahci/device.c
@@ -1,6 +1,6 @@
#include <ahci/device.h>
#include <ahci/fis.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
static void init_hba_command_header(HbaCommand *command, bool write, uint32_t fis_len)
{
diff --git a/sources/libs/hw/ahci/fis.h b/sources/libs/hw/ahci/fis.h
index 5386567b..00710a12 100644
--- a/sources/libs/hw/ahci/fis.h
+++ b/sources/libs/hw/ahci/fis.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef enum
{
diff --git a/sources/libs/hw/ahci/hba.h b/sources/libs/hw/ahci/hba.h
index c9170603..587a4b3e 100644
--- a/sources/libs/hw/ahci/hba.h
+++ b/sources/libs/hw/ahci/hba.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef enum
{
diff --git a/sources/libs/hw/efi/lib.c b/sources/libs/hw/efi/lib.c
index a225888c..065b2854 100644
--- a/sources/libs/hw/efi/lib.c
+++ b/sources/libs/hw/efi/lib.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
#include <efi/lib.h>
static bool _init = false;
diff --git a/sources/libs/hw/efi/types.h b/sources/libs/hw/efi/types.h
index 2dcafc5d..a918a3b5 100644
--- a/sources/libs/hw/efi/types.h
+++ b/sources/libs/hw/efi/types.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <string.h>
typedef struct
diff --git a/sources/libs/hw/fdt/fdt.c b/sources/libs/hw/fdt/fdt.c
index 149726ee..bc09f61c 100644
--- a/sources/libs/hw/fdt/fdt.c
+++ b/sources/libs/hw/fdt/fdt.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <fdt/fdt.h>
static FdtTok *fdt_node_begin(FdtTokBegin *fdt)
diff --git a/sources/libs/hw/fdt/fdt.h b/sources/libs/hw/fdt/fdt.h
index aaac755a..955274ed 100644
--- a/sources/libs/hw/fdt/fdt.h
+++ b/sources/libs/hw/fdt/fdt.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
typedef struct PACKED
{
diff --git a/sources/libs/hw/pci/addr.h b/sources/libs/hw/pci/addr.h
index 68d7baa6..f39a7ad5 100644
--- a/sources/libs/hw/pci/addr.h
+++ b/sources/libs/hw/pci/addr.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <protos/pci.h>
#define PCI_BUS_SHIFT (20)
diff --git a/sources/libs/hw/pci/capabilities.h b/sources/libs/hw/pci/capabilities.h
index 6461ae37..5fbce4d4 100644
--- a/sources/libs/hw/pci/capabilities.h
+++ b/sources/libs/hw/pci/capabilities.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#define MSI_CTRL_ENABLE (1 << 0)
#define MSI_CTRL_64_BIT (1 << 7)
diff --git a/sources/libs/hw/pci/config.h b/sources/libs/hw/pci/config.h
index 63d9c2ee..da0584c2 100644
--- a/sources/libs/hw/pci/config.h
+++ b/sources/libs/hw/pci/config.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef struct PACKED
{
diff --git a/sources/libs/hw/pci/pci.c b/sources/libs/hw/pci/pci.c
index 68c60038..f2dc168a 100644
--- a/sources/libs/hw/pci/pci.c
+++ b/sources/libs/hw/pci/pci.c
@@ -1,6 +1,6 @@
#include <acpi/mcfg.h>
#include <acpi/rsdt.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <pci/addr.h>
#include "config.h"
#include "pci.h"
diff --git a/sources/libs/hw/pci/pci.h b/sources/libs/hw/pci/pci.h
index a173bc73..3a3a6f02 100644
--- a/sources/libs/hw/pci/pci.h
+++ b/sources/libs/hw/pci/pci.h
@@ -1,7 +1,7 @@
#pragma once
#include <acpi/base.h>
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <pci/addr.h>
#include <pci/capabilities.h>
#include <pci/config.h>
diff --git a/sources/libs/hw/ps2/controller.c b/sources/libs/hw/ps2/controller.c
index e9c90007..d4deedbb 100644
--- a/sources/libs/hw/ps2/controller.c
+++ b/sources/libs/hw/ps2/controller.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <hw/ps2/controller.h>
uint8_t ps2_controller_status(Ps2Controller *self)
diff --git a/sources/libs/hw/ps2/keyboard.c b/sources/libs/hw/ps2/keyboard.c
index 33894dfc..90f8ea5d 100644
--- a/sources/libs/hw/ps2/keyboard.c
+++ b/sources/libs/hw/ps2/keyboard.c
@@ -1,4 +1,4 @@
-#include <brutal/input/keyboard.h>
+#include <bruwutal/input/keyboard.h>
#include <hw/ps2/keyboard.h>
#include <ipc/ipc.h>
diff --git a/sources/libs/hw/ps2/keyboard.h b/sources/libs/hw/ps2/keyboard.h
index 2e858739..d320eb7a 100644
--- a/sources/libs/hw/ps2/keyboard.h
+++ b/sources/libs/hw/ps2/keyboard.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include <hw/ps2/controller.h>
typedef void (*Ps2KeyboardCallback)(UiEvent ev, void *context);
diff --git a/sources/libs/hw/ps2/mouse.h b/sources/libs/hw/ps2/mouse.h
index 715d92c2..94355046 100644
--- a/sources/libs/hw/ps2/mouse.h
+++ b/sources/libs/hw/ps2/mouse.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/base.h>
-#include <brutal/ui.h>
+#include <bruwutal/base.h>
+#include <bruwutal/ui.h>
#include <hw/ps2/controller.h>
typedef void (*Ps2MouseCallback)(UiEvent ev, void *ctx);
diff --git a/sources/libs/hw/uart/uart.c b/sources/libs/hw/uart/uart.c
index cafa2811..d5fa8c2e 100644
--- a/sources/libs/hw/uart/uart.c
+++ b/sources/libs/hw/uart/uart.c
@@ -1,4 +1,4 @@
-#include <brutal/mem.h>
+#include <bruwutal/mem.h>
#include <uart/uart.h>
void uart_putc(Uart *dev, uint8_t data)
diff --git a/sources/libs/hw/uart/uart.h b/sources/libs/hw/uart/uart.h
index 912aa340..3e56b09d 100644
--- a/sources/libs/hw/uart/uart.h
+++ b/sources/libs/hw/uart/uart.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
typedef struct
{
diff --git a/sources/libs/hw/virtio/device.c b/sources/libs/hw/virtio/device.c
index 06717ed6..251118b9 100644
--- a/sources/libs/hw/virtio/device.c
+++ b/sources/libs/hw/virtio/device.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <virtio/device.h>
void virtio_device_set_if_acknowledged(VirtioDevice *device, uint8_t status)
diff --git a/sources/libs/hw/virtio/device.h b/sources/libs/hw/virtio/device.h
index fc3bcfac..281fb007 100644
--- a/sources/libs/hw/virtio/device.h
+++ b/sources/libs/hw/virtio/device.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#define VIRTIO_STATUS_ACKNOWLEDGE (1 << 0) // Indicates that the guest OS has found the device and recognized it as a valid virtio device.
#define VIRTIO_STATUS_DRIVER_AVAILABLE (1 << 1) // Indicates that the guest OS knows how to drive the device.
diff --git a/sources/libs/hw/virtio/device/block.h b/sources/libs/hw/virtio/device/block.h
index eac24f29..097da9f5 100644
--- a/sources/libs/hw/virtio/device/block.h
+++ b/sources/libs/hw/virtio/device/block.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <virtio/device.h>
#include <virtio/virtqueue.h>
diff --git a/sources/libs/hw/virtio/device/entropy.h b/sources/libs/hw/virtio/device/entropy.h
index f6e5c4d3..767084a8 100644
--- a/sources/libs/hw/virtio/device/entropy.h
+++ b/sources/libs/hw/virtio/device/entropy.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <virtio/device.h>
#include <virtio/virtqueue.h>
diff --git a/sources/libs/hw/virtio/virtqueue.h b/sources/libs/hw/virtio/virtqueue.h
index 62bfb691..a6cb3df0 100644
--- a/sources/libs/hw/virtio/virtqueue.h
+++ b/sources/libs/hw/virtio/virtqueue.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <virtio/splitvqueue.h>
// The descriptor of one buffer inside the queue.
diff --git a/sources/libs/idl/ast/builder.c b/sources/libs/idl/ast/builder.c
index 28c5ab3f..eb26c534 100644
--- a/sources/libs/idl/ast/builder.c
+++ b/sources/libs/idl/ast/builder.c
@@ -1,4 +1,4 @@
-#include <brutal/hash.h>
+#include <bruwutal/hash.h>
#include <idl/ast/builder.h>
#include <ipc/ipc.h>
diff --git a/sources/libs/idl/ast/iface.h b/sources/libs/idl/ast/iface.h
index c54c7a45..9614ac99 100644
--- a/sources/libs/idl/ast/iface.h
+++ b/sources/libs/idl/ast/iface.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <idl/ast/types.h>
typedef struct
diff --git a/sources/libs/idl/ast/types.h b/sources/libs/idl/ast/types.h
index f86bb830..3e43d2fa 100644
--- a/sources/libs/idl/ast/types.h
+++ b/sources/libs/idl/ast/types.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
typedef struct _IdlType IdlType;
diff --git a/sources/libs/idl/cgen/binding.c b/sources/libs/idl/cgen/binding.c
index 36f88c70..399c63db 100644
--- a/sources/libs/idl/cgen/binding.c
+++ b/sources/libs/idl/cgen/binding.c
@@ -1,5 +1,5 @@
-#include <brutal/io.h>
-#include <brutal/text.h>
+#include <bruwutal/io.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/dispatch.c b/sources/libs/idl/cgen/dispatch.c
index 60815661..6c5cfe4b 100644
--- a/sources/libs/idl/cgen/dispatch.c
+++ b/sources/libs/idl/cgen/dispatch.c
@@ -1,5 +1,5 @@
-#include <brutal/io.h>
-#include <brutal/text.h>
+#include <bruwutal/io.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/handler.c b/sources/libs/idl/cgen/handler.c
index be4ccbfc..1d1a70f4 100644
--- a/sources/libs/idl/cgen/handler.c
+++ b/sources/libs/idl/cgen/handler.c
@@ -1,4 +1,4 @@
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/header.c b/sources/libs/idl/cgen/header.c
index 64994199..ae514bf2 100644
--- a/sources/libs/idl/cgen/header.c
+++ b/sources/libs/idl/cgen/header.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/includes.c b/sources/libs/idl/cgen/includes.c
index f25cc322..6ad80f4c 100644
--- a/sources/libs/idl/cgen/includes.c
+++ b/sources/libs/idl/cgen/includes.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/method.c b/sources/libs/idl/cgen/method.c
index 3332e9f4..d6b0820e 100644
--- a/sources/libs/idl/cgen/method.c
+++ b/sources/libs/idl/cgen/method.c
@@ -1,4 +1,4 @@
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/pack.c b/sources/libs/idl/cgen/pack.c
index 5226a90e..6a3914d9 100644
--- a/sources/libs/idl/cgen/pack.c
+++ b/sources/libs/idl/cgen/pack.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/provider.c b/sources/libs/idl/cgen/provider.c
index 5a80e698..99c80ff2 100644
--- a/sources/libs/idl/cgen/provider.c
+++ b/sources/libs/idl/cgen/provider.c
@@ -1,4 +1,4 @@
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/source.c b/sources/libs/idl/cgen/source.c
index 0775e31d..115739d8 100644
--- a/sources/libs/idl/cgen/source.c
+++ b/sources/libs/idl/cgen/source.c
@@ -1,4 +1,4 @@
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/types.c b/sources/libs/idl/cgen/types.c
index c88172b6..2ed71aff 100644
--- a/sources/libs/idl/cgen/types.c
+++ b/sources/libs/idl/cgen/types.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/cgen/unpack.c b/sources/libs/idl/cgen/unpack.c
index 001fc7eb..ad00563c 100644
--- a/sources/libs/idl/cgen/unpack.c
+++ b/sources/libs/idl/cgen/unpack.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
#include <cc/builder.h>
#include <idl/cgen.h>
diff --git a/sources/libs/idl/json.c b/sources/libs/idl/json.c
index ad7b3cdf..7e254ed5 100644
--- a/sources/libs/idl/json.c
+++ b/sources/libs/idl/json.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <idl/json.h>
Json idl_jgen_ctype(IdlCtype ctype_, Alloc *alloc)
diff --git a/sources/libs/idl/parse.c b/sources/libs/idl/parse.c
index 807996f3..a79eef19 100644
--- a/sources/libs/idl/parse.c
+++ b/sources/libs/idl/parse.c
@@ -1,6 +1,6 @@
-#include <brutal/debug.h>
-#include <brutal/io.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
+#include <bruwutal/text.h>
#include <idl/ast/builder.h>
#include <idl/parse.h>
diff --git a/sources/libs/idl/parse.h b/sources/libs/idl/parse.h
index 2e5c6f97..c68bb409 100644
--- a/sources/libs/idl/parse.h
+++ b/sources/libs/idl/parse.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/parse.h>
+#include <bruwutal/parse.h>
#include <idl/ast.h>
IdlModule idl_parse_module(Scan *scan, Alloc *alloc);
diff --git a/sources/libs/idl/sema.c b/sources/libs/idl/sema.c
index c0d0e641..b17d445d 100644
--- a/sources/libs/idl/sema.c
+++ b/sources/libs/idl/sema.c
@@ -1,7 +1,7 @@
-#include <brutal/debug.h>
-#include <brutal/hash.h>
-#include <brutal/io.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/hash.h>
+#include <bruwutal/io.h>
+#include <bruwutal/text.h>
#include <idl/ast.h>
#include <idl/ast/builder.h>
#include <idl/parse.h>
diff --git a/sources/libs/ipc/component.c b/sources/libs/ipc/component.c
index 1642ba7b..69bbe672 100644
--- a/sources/libs/ipc/component.c
+++ b/sources/libs/ipc/component.c
@@ -1,5 +1,5 @@
#include <bal/abi.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <ipc/component.h>
typedef struct
diff --git a/sources/libs/ipc/component.h b/sources/libs/ipc/component.h
index 1f244c4f..f1256da0 100644
--- a/sources/libs/ipc/component.h
+++ b/sources/libs/ipc/component.h
@@ -1,8 +1,8 @@
#pragma once
#include <bal/abi.h>
-#include <brutal/ds.h>
-#include <brutal/fibers.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/fibers.h>
#include <ipc/capability.h>
#include <ipc/pack.h>
#include <ipc/unpack.h>
diff --git a/sources/libs/ipc/hooks.c b/sources/libs/ipc/hooks.c
index 7c0a72c0..e1724fe3 100644
--- a/sources/libs/ipc/hooks.c
+++ b/sources/libs/ipc/hooks.c
@@ -1,6 +1,6 @@
#include <bal/hw.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <ipc/hooks.h>
#include <ipc/ipc.h>
diff --git a/sources/libs/ipc/interface.h b/sources/libs/ipc/interface.h
index be8c4887..19d4fd1e 100644
--- a/sources/libs/ipc/interface.h
+++ b/sources/libs/ipc/interface.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#include <ipc/ipc.h>
Str ipc_interface_str(IpcProto proto);
diff --git a/sources/libs/ipc/pack.c b/sources/libs/ipc/pack.c
index 5cbf996c..126ace4f 100644
--- a/sources/libs/ipc/pack.c
+++ b/sources/libs/ipc/pack.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
#include <ipc/pack.h>
void ipc_pack_init(IpcPack *self)
diff --git a/sources/libs/ipc/pack.h b/sources/libs/ipc/pack.h
index 0384471c..d7587563 100644
--- a/sources/libs/ipc/pack.h
+++ b/sources/libs/ipc/pack.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/math.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/math.h>
#include <ipc/capability.h>
typedef struct
diff --git a/sources/libs/ipc/unpack.c b/sources/libs/ipc/unpack.c
index 98741ac1..bf2b6961 100644
--- a/sources/libs/ipc/unpack.c
+++ b/sources/libs/ipc/unpack.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <ipc/unpack.h>
void ipc_unpack_init(IpcUnpack *self, void *buf, size_t len, Alloc *alloc)
diff --git a/sources/libs/ipc/unpack.h b/sources/libs/ipc/unpack.h
index 845067d8..a8eed58e 100644
--- a/sources/libs/ipc/unpack.h
+++ b/sources/libs/ipc/unpack.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/math.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/math.h>
#include <ipc/capability.h>
typedef struct
diff --git a/sources/libs/json/emit.c b/sources/libs/json/emit.c
index 03326010..3ad9e0b2 100644
--- a/sources/libs/json/emit.c
+++ b/sources/libs/json/emit.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <json/emit.h>
void json_emit_string(Str str, Emit *emit)
diff --git a/sources/libs/json/emit.h b/sources/libs/json/emit.h
index f0e562db..88950a8c 100644
--- a/sources/libs/json/emit.h
+++ b/sources/libs/json/emit.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <json/objects.h>
void json_emit(Json const json, Emit *emit);
diff --git a/sources/libs/json/objects.c b/sources/libs/json/objects.c
index d8d953dd..cb61cf27 100644
--- a/sources/libs/json/objects.c
+++ b/sources/libs/json/objects.c
@@ -1,4 +1,4 @@
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <json/objects.h>
bool json_is(Json const json, JsonType type)
diff --git a/sources/libs/json/objects.h b/sources/libs/json/objects.h
index b0d9a5be..919029c9 100644
--- a/sources/libs/json/objects.h
+++ b/sources/libs/json/objects.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
typedef enum
{
diff --git a/sources/libs/json/parser.c b/sources/libs/json/parser.c
index fae011f5..324a4a16 100644
--- a/sources/libs/json/parser.c
+++ b/sources/libs/json/parser.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/io.h>
#include <json/parser.h>
static bool json_skip_comment(Scan *scan)
diff --git a/sources/libs/json/parser.h b/sources/libs/json/parser.h
index c6755564..d0445f9d 100644
--- a/sources/libs/json/parser.h
+++ b/sources/libs/json/parser.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/parse.h>
+#include <bruwutal/parse.h>
#include <json/objects.h>
Json json_parse_array(Scan *scan, Alloc *alloc);
diff --git a/sources/libs/stdc-ansi/qsort.c b/sources/libs/stdc-ansi/qsort.c
index 84fe0e13..4eeb6407 100644
--- a/sources/libs/stdc-ansi/qsort.c
+++ b/sources/libs/stdc-ansi/qsort.c
@@ -1,4 +1,4 @@
-#define _BRUTAL_SOURCE
+#define _bruwutal_SOURCE
#include <stdlib.h>
#include <string.h>
diff --git a/sources/libs/stdc-ansi/stdlib.c b/sources/libs/stdc-ansi/stdlib.c
index c7a68973..7cad4370 100644
--- a/sources/libs/stdc-ansi/stdlib.c
+++ b/sources/libs/stdc-ansi/stdlib.c
@@ -1,8 +1,8 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/math.h>
-#include <brutal/mem.h>
-#include <brutal/parse.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/math.h>
+#include <bruwutal/mem.h>
+#include <bruwutal/parse.h>
#include <embed/log.h>
#include <embed/task.h>
#include <stdlib.h>
diff --git a/sources/libs/stdc-ansi/string.c b/sources/libs/stdc-ansi/string.c
index 6e4ad8ea..7fefe2ce 100644
--- a/sources/libs/stdc-ansi/string.c
+++ b/sources/libs/stdc-ansi/string.c
@@ -2,8 +2,8 @@
/* --- 7.24 - String handling ----------------------------------------------- */
-#include <brutal/alloc.h>
-#include <brutal/mem.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/mem.h>
#include <string.h>
/* --- 7.24.2 - Copying functions ------------------------------------------- */
diff --git a/sources/libs/stdc-ext/string.c b/sources/libs/stdc-ext/string.c
index 9b235fb0..d344c1bb 100644
--- a/sources/libs/stdc-ext/string.c
+++ b/sources/libs/stdc-ext/string.c
@@ -1,4 +1,4 @@
-#define _BRUTAL_SOURCE
+#define _bruwutal_SOURCE
#include <string.h>
size_t strlcpy(char *dst, char const *src, size_t size)
diff --git a/sources/libs/stdc-ext/string.h b/sources/libs/stdc-ext/string.h
index 0fd92771..b762af32 100644
--- a/sources/libs/stdc-ext/string.h
+++ b/sources/libs/stdc-ext/string.h
@@ -16,7 +16,7 @@ void *memfrob(void *s, size_t n);
#endif
-#ifdef _BRUTAL_SOURCE
+#ifdef _bruwutal_SOURCE
void memswap(void *block1, void *block2, size_t n);
diff --git a/sources/libs/ubsan/ubsan.c b/sources/libs/ubsan/ubsan.c
index 788766db..052f5fc5 100644
--- a/sources/libs/ubsan/ubsan.c
+++ b/sources/libs/ubsan/ubsan.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/text.h>
struct _UbsanSrc
{
diff --git a/sources/loader/config.c b/sources/loader/config.c
index d3bdf8cc..361198e7 100644
--- a/sources/loader/config.c
+++ b/sources/loader/config.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <json/parser.h>
#include "loader/config.h"
diff --git a/sources/loader/config.h b/sources/loader/config.h
index d564dc9c..927b5709 100644
--- a/sources/loader/config.h
+++ b/sources/loader/config.h
@@ -1,7 +1,7 @@
#pragma once
-#include <brutal/ds.h>
-#include <brutal/text.h>
+#include <bruwutal/ds.h>
+#include <bruwutal/text.h>
typedef struct
{
diff --git a/sources/loader/main.c b/sources/loader/main.c
index 9e1a4c6a..da2d4061 100644
--- a/sources/loader/main.c
+++ b/sources/loader/main.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
#include <efi/lib.h>
#include <efi/srvs.h>
#include <efi/tty.h>
diff --git a/sources/loader/memory.c b/sources/loader/memory.c
index 29dde810..68abcbd2 100644
--- a/sources/loader/memory.c
+++ b/sources/loader/memory.c
@@ -1,5 +1,5 @@
-#include <brutal/debug.h>
-#include <brutal/mem.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/mem.h>
#include <efi/lib.h>
#include <efi/srvs/bs.h>
#include <embed/mem.h>
diff --git a/sources/loader/memory.h b/sources/loader/memory.h
index 6c86744b..bdc86c3b 100644
--- a/sources/loader/memory.h
+++ b/sources/loader/memory.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/base.h>
+#include <bruwutal/base.h>
typedef uintptr_t Pages;
typedef Pages *VmmSpace;
diff --git a/sources/loader/protocol.c b/sources/loader/protocol.c
index 79bd2603..2069e828 100644
--- a/sources/loader/protocol.c
+++ b/sources/loader/protocol.c
@@ -1,7 +1,7 @@
#include <bal/abi.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
#include <efi/lib.h>
#include <efi/srvs.h>
#include <elf/elf.h>
diff --git a/sources/protos/event.idl b/sources/protos/event.idl
index f8096abd..f86f4452 100644
--- a/sources/protos/event.idl
+++ b/sources/protos/event.idl
@@ -1,7 +1,7 @@
module event;
import base, math;
-include brutal/ui.h;
+include bruwutal/ui.h;
type Event = __ctype(UiEvent);
diff --git a/sources/protos/math.idl b/sources/protos/math.idl
index d7af2955..1ecf0d0b 100644
--- a/sources/protos/math.idl
+++ b/sources/protos/math.idl
@@ -1,6 +1,6 @@
module math;
-include brutal/math.h, ipc/ipc.h;
+include bruwutal/math.h, ipc/ipc.h;
type MRectf = __ctype;
diff --git a/sources/protos/ui.idl b/sources/protos/ui.idl
index a165cb30..9018d07e 100644
--- a/sources/protos/ui.idl
+++ b/sources/protos/ui.idl
@@ -1,5 +1,5 @@
module ui;
-include brutal/ui.h;
+include bruwutal/ui.h;
type UiWinType = __ctype;
diff --git a/sources/srvs/acpi/main.c b/sources/srvs/acpi/main.c
index ad6f4bc3..92e0c2ef 100644
--- a/sources/srvs/acpi/main.c
+++ b/sources/srvs/acpi/main.c
@@ -1,6 +1,6 @@
#include <acpi/rsdt.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <protos/boot.h>
Iter dump_sdth(AcpiSdth *sdth, void *)
diff --git a/sources/srvs/ahci/main.c b/sources/srvs/ahci/main.c
index dedcb962..1a34c162 100644
--- a/sources/srvs/ahci/main.c
+++ b/sources/srvs/ahci/main.c
@@ -1,7 +1,7 @@
#include <ahci/ahci.h>
#include <ahci/device.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <protos/pci.h>
int ipc_component_main(IpcComponent *self)
diff --git a/sources/srvs/pci/main.c b/sources/srvs/pci/main.c
index 5be46735..6eac08c6 100644
--- a/sources/srvs/pci/main.c
+++ b/sources/srvs/pci/main.c
@@ -1,8 +1,8 @@
#include <acpi/base.h>
#include <bal/abi.h>
#include <bal/boot.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <pci/pci.h>
#include <protos/boot.h>
#include <protos/pci.h>
diff --git a/sources/srvs/ps2/main.c b/sources/srvs/ps2/main.c
index fecc0528..4f3fbf2d 100644
--- a/sources/srvs/ps2/main.c
+++ b/sources/srvs/ps2/main.c
@@ -1,13 +1,13 @@
#include <bal/abi.h>
#include <bal/hw.h>
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/ui.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ui.h>
#include <hw/ps2/ps2.h>
#include <ipc/ipc.h>
#include <protos/event.h>
#include "bal/abi/types.h"
-#include "brutal/ui/event.h"
+#include "bruwutal/ui/event.h"
void ps2_keyboard_callback(UiEvent ev, IpcCap *input_sink)
{
diff --git a/sources/srvs/system/bus.c b/sources/srvs/system/bus.c
index 0723d36c..46dd1ace 100644
--- a/sources/srvs/system/bus.c
+++ b/sources/srvs/system/bus.c
@@ -1,5 +1,5 @@
#include <bal/task.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include "system/bus.h"
void bus_init(Bus *bus, Handover *handover, Alloc *alloc)
diff --git a/sources/srvs/system/main.c b/sources/srvs/system/main.c
index ce06ff91..f7620252 100644
--- a/sources/srvs/system/main.c
+++ b/sources/srvs/system/main.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <protos/boot.h>
#include <protos/event.h>
#include <protos/hw.h>
diff --git a/sources/srvs/system/unit.c b/sources/srvs/system/unit.c
index 13b155a8..ad3ae614 100644
--- a/sources/srvs/system/unit.c
+++ b/sources/srvs/system/unit.c
@@ -1,5 +1,5 @@
#include <bal/task.h>
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
#include <elf/elf.h>
#include <json/parser.h>
#include "system/unit.h"
diff --git a/sources/srvs/system/unit.h b/sources/srvs/system/unit.h
index 7493e372..9824d45f 100644
--- a/sources/srvs/system/unit.h
+++ b/sources/srvs/system/unit.h
@@ -2,7 +2,7 @@
#include <bal/boot.h>
#include <bal/hw.h>
-#include <brutal/ds.h>
+#include <bruwutal/ds.h>
#include <ipc/ipc.h>
typedef enum
diff --git a/sources/srvs/window/client.c b/sources/srvs/window/client.c
index 18aed03a..06375238 100644
--- a/sources/srvs/window/client.c
+++ b/sources/srvs/window/client.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include <protos/window.h>
#include "window/client.h"
#include "window/server.h"
diff --git a/sources/srvs/window/client.h b/sources/srvs/window/client.h
index 9b090701..dab6525d 100644
--- a/sources/srvs/window/client.h
+++ b/sources/srvs/window/client.h
@@ -1,9 +1,9 @@
#pragma once
#include <bal/hw.h>
-#include <brutal/gfx.h>
-#include <brutal/math.h>
-#include <brutal/ui.h>
+#include <bruwutal/gfx.h>
+#include <bruwutal/math.h>
+#include <bruwutal/ui.h>
#include <ipc/ipc.h>
typedef struct
diff --git a/sources/srvs/window/display.h b/sources/srvs/window/display.h
index 2fbcc287..2d051217 100644
--- a/sources/srvs/window/display.h
+++ b/sources/srvs/window/display.h
@@ -1,7 +1,7 @@
#pragma once
#include <bal/hw.h>
-#include <brutal/gfx.h>
+#include <bruwutal/gfx.h>
typedef struct
{
diff --git a/sources/srvs/window/main.c b/sources/srvs/window/main.c
index 5cb7c4fa..85b63b68 100644
--- a/sources/srvs/window/main.c
+++ b/sources/srvs/window/main.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include <protos/hw.h>
#include <protos/system.h>
#include "window/server.h"
diff --git a/sources/srvs/window/server.c b/sources/srvs/window/server.c
index 11595e8a..2a7336c0 100644
--- a/sources/srvs/window/server.c
+++ b/sources/srvs/window/server.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/gfx.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/gfx.h>
#include <protos/system.h>
#include <protos/window.h>
#include "window/server.h"
diff --git a/sources/srvs/window/server.h b/sources/srvs/window/server.h
index e9ef4bd1..0745dd0c 100644
--- a/sources/srvs/window/server.h
+++ b/sources/srvs/window/server.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include "window/client.h"
#include "window/display.h"
diff --git a/sources/utils/bvm/main.c b/sources/utils/bvm/main.c
index 057eb8b1..c2df8e5f 100644
--- a/sources/utils/bvm/main.c
+++ b/sources/utils/bvm/main.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
#include <bvm/eval.h>
#include <bvm/obj.h>
diff --git a/sources/utils/cc/main.c b/sources/utils/cc/main.c
index 8a7884a6..ed47c261 100644
--- a/sources/utils/cc/main.c
+++ b/sources/utils/cc/main.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
#include <cc/dump.h>
#include <cc/lex/pproc.h>
#include <cc/parse.h>
diff --git a/sources/utils/fontinfo/main.c b/sources/utils/fontinfo/main.c
index cc858e58..84f45db7 100644
--- a/sources/utils/fontinfo/main.c
+++ b/sources/utils/fontinfo/main.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc.h>
-#include <brutal/codec/ssfn2/ssfn2.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/codec/ssfn2/ssfn2.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
int main(int argc, char const *argv[])
{
diff --git a/sources/utils/fstools/main.c b/sources/utils/fstools/main.c
index a55ee1f0..a5379df9 100644
--- a/sources/utils/fstools/main.c
+++ b/sources/utils/fstools/main.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/ds.h>
#include <fs/block.h>
#include <fs/ext2/ext2.h>
/*
diff --git a/sources/utils/gunzip/main.c b/sources/utils/gunzip/main.c
index 12e13456..739b7f38 100644
--- a/sources/utils/gunzip/main.c
+++ b/sources/utils/gunzip/main.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc.h>
-#include <brutal/codec/gzip/gzip.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/codec/gzip/gzip.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
int main(int argc, char const *argv[])
{
diff --git a/sources/utils/gzip/main.c b/sources/utils/gzip/main.c
index 7722e6fe..54924109 100644
--- a/sources/utils/gzip/main.c
+++ b/sources/utils/gzip/main.c
@@ -1,7 +1,7 @@
-#include <brutal/alloc.h>
-#include <brutal/codec/gzip/gzip.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/codec/gzip/gzip.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
int main(int argc, char const *argv[])
{
diff --git a/sources/utils/idl/main.c b/sources/utils/idl/main.c
index ffa50235..1be8b0e0 100644
--- a/sources/utils/idl/main.c
+++ b/sources/utils/idl/main.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/debug.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/io.h>
#include <cc/trans.h>
#include <idl/cgen.h>
#include <idl/json.h>
diff --git a/sources/utils/test/alloc.c b/sources/utils/test/alloc.c
index a2ec7be4..7ee94423 100644
--- a/sources/utils/test/alloc.c
+++ b/sources/utils/test/alloc.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include "test/test.h"
HeapAlloc heap;
diff --git a/sources/utils/test/brutal/alloc/heap.c b/sources/utils/test/brutal/alloc/heap.c
index 7ea646e9..9779adfc 100644
--- a/sources/utils/test/brutal/alloc/heap.c
+++ b/sources/utils/test/brutal/alloc/heap.c
@@ -1,4 +1,4 @@
-#include <brutal/alloc.h>
+#include <bruwutal/alloc.h>
#include "test/test.h"
static HeapAlloc _heap;
diff --git a/sources/utils/test/brutal/base/endian.c b/sources/utils/test/brutal/base/endian.c
index d96b6259..37b5fee7 100644
--- a/sources/utils/test/brutal/base/endian.c
+++ b/sources/utils/test/brutal/base/endian.c
@@ -1,4 +1,4 @@
-#include <brutal/base/endian.h>
+#include <bruwutal/base/endian.h>
#include "test/test.h"
TEST(endian_load_store_be16)
diff --git a/sources/utils/test/brutal/codec/deflate.c b/sources/utils/test/brutal/codec/deflate.c
index 9165cbf9..55799fd4 100644
--- a/sources/utils/test/brutal/codec/deflate.c
+++ b/sources/utils/test/brutal/codec/deflate.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/deflate/deflate.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/deflate/deflate.h>
#include "test/test.h"
TEST(deflate_uncompressed)
diff --git a/sources/utils/test/brutal/codec/gzip.c b/sources/utils/test/brutal/codec/gzip.c
index fa715839..4b3c553a 100644
--- a/sources/utils/test/brutal/codec/gzip.c
+++ b/sources/utils/test/brutal/codec/gzip.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/gzip/gzip.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/gzip/gzip.h>
#include "test/test.h"
TEST(gzip_empty_raw)
diff --git a/sources/utils/test/brutal/codec/inflate.c b/sources/utils/test/brutal/codec/inflate.c
index bcdf81de..78bbbf88 100644
--- a/sources/utils/test/brutal/codec/inflate.c
+++ b/sources/utils/test/brutal/codec/inflate.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/deflate/inflate.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/deflate/inflate.h>
#include "test/test.h"
TEST(inflate_uncompressed)
diff --git a/sources/utils/test/brutal/codec/zlib.c b/sources/utils/test/brutal/codec/zlib.c
index a39149ce..4d86dd38 100644
--- a/sources/utils/test/brutal/codec/zlib.c
+++ b/sources/utils/test/brutal/codec/zlib.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc/global.h>
-#include <brutal/codec/zlib/zlib.h>
+#include <bruwutal/alloc/global.h>
+#include <bruwutal/codec/zlib/zlib.h>
#include "test/test.h"
TEST(zlib_empty_raw)
diff --git a/sources/utils/test/brutal/ds/map.c b/sources/utils/test/brutal/ds/map.c
index 4cd70e55..8daf049d 100644
--- a/sources/utils/test/brutal/ds/map.c
+++ b/sources/utils/test/brutal/ds/map.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/ds.h>
#include "test/test.h"
TEST(map_put_get)
diff --git a/sources/utils/test/brutal/ds/range.c b/sources/utils/test/brutal/ds/range.c
index a77e137d..a4e1b35f 100644
--- a/sources/utils/test/brutal/ds/range.c
+++ b/sources/utils/test/brutal/ds/range.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/ds.h>
#include "test/test.h"
TEST(ds_range_alloc_used_start)
diff --git a/sources/utils/test/brutal/ds/slot.c b/sources/utils/test/brutal/ds/slot.c
index 00227b61..cd12e1fa 100644
--- a/sources/utils/test/brutal/ds/slot.c
+++ b/sources/utils/test/brutal/ds/slot.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/ds.h>
#include "test/test.h"
TEST(slot_acquire_release)
diff --git a/sources/utils/test/brutal/ds/vec.c b/sources/utils/test/brutal/ds/vec.c
index 7faf86df..a1531e88 100644
--- a/sources/utils/test/brutal/ds/vec.c
+++ b/sources/utils/test/brutal/ds/vec.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/ds.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/ds.h>
#include "test/test.h"
TEST(vec)
diff --git a/sources/utils/test/brutal/gfx/ctx.c b/sources/utils/test/brutal/gfx/ctx.c
index f3ad5006..aab5b7a3 100644
--- a/sources/utils/test/brutal/gfx/ctx.c
+++ b/sources/utils/test/brutal/gfx/ctx.c
@@ -1,6 +1,6 @@
-#include <brutal/alloc.h>
-#include <brutal/codec/tga/tga.h>
-#include <brutal/io.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/codec/tga/tga.h>
+#include <bruwutal/io.h>
#include "test/test.h"
/*
diff --git a/sources/utils/test/brutal/io/bit_write.c b/sources/utils/test/brutal/io/bit_write.c
index a83531af..e9efc6ae 100644
--- a/sources/utils/test/brutal/io/bit_write.c
+++ b/sources/utils/test/brutal/io/bit_write.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/io/wbits.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/io/wbits.h>
#include "test/test.h"
TEST(bitwriter_write_aligned)
diff --git a/sources/utils/test/brutal/io/fmt.c b/sources/utils/test/brutal/io/fmt.c
index 09bcc5b3..04b5ad25 100644
--- a/sources/utils/test/brutal/io/fmt.c
+++ b/sources/utils/test/brutal/io/fmt.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/text.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/text.h>
#include "test/test.h"
#define SIMPLE_FMT_TEST(FORMAT, ARG1, EXPECTED) \
diff --git a/sources/utils/test/brutal/text/case.c b/sources/utils/test/brutal/text/case.c
index 8e4ef341..b2a87d00 100644
--- a/sources/utils/test/brutal/text/case.c
+++ b/sources/utils/test/brutal/text/case.c
@@ -1,5 +1,5 @@
-#include <brutal/alloc.h>
-#include <brutal/text.h>
+#include <bruwutal/alloc.h>
+#include <bruwutal/text.h>
#include "test/test.h"
static void test_case(Case c, char const *input, char const *expected)
diff --git a/sources/utils/test/brutal/text/glob.c b/sources/utils/test/brutal/text/glob.c
index 9426fea6..68dd594e 100644
--- a/sources/utils/test/brutal/text/glob.c
+++ b/sources/utils/test/brutal/text/glob.c
@@ -1,4 +1,4 @@
-#include <brutal/text.h>
+#include <bruwutal/text.h>
#include "test/test.h"
static void expect_match(char const *pattern, char const *input)
diff --git a/sources/utils/test/brutal/ui/parser.c b/sources/utils/test/brutal/ui/parser.c
index 76078768..5f4c1e0a 100644
--- a/sources/utils/test/brutal/ui/parser.c
+++ b/sources/utils/test/brutal/ui/parser.c
@@ -1,4 +1,4 @@
-#include <brutal/ui.h>
+#include <bruwutal/ui.h>
#include "test/test.h"
static UiLayout try_parse_layout(char const *str)
diff --git a/sources/utils/test/cc/cc.h b/sources/utils/test/cc/cc.h
index 78e74ad6..cece13b7 100644
--- a/sources/utils/test/cc/cc.h
+++ b/sources/utils/test/cc/cc.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/io.h>
+#include <bruwutal/io.h>
#include <cc/parse.h>
// FIXME: get ride of thoses ugly macros.
diff --git a/sources/utils/test/cc/pproc.c b/sources/utils/test/cc/pproc.c
index 3d5750b1..68ce92ab 100644
--- a/sources/utils/test/cc/pproc.c
+++ b/sources/utils/test/cc/pproc.c
@@ -1,4 +1,4 @@
-#include <brutal/base.h>
+#include <bruwutal/base.h>
#include <cc/lex/pproc.h>
#include <cc/parse.h>
#include "test/cc/cc.h"
diff --git a/sources/utils/test/main.c b/sources/utils/test/main.c
index 3d638c0f..d82d557f 100644
--- a/sources/utils/test/main.c
+++ b/sources/utils/test/main.c
@@ -1,6 +1,6 @@
-#include <brutal/debug.h>
-#include <brutal/task.h>
-#include <brutal/text.h>
+#include <bruwutal/debug.h>
+#include <bruwutal/task.h>
+#include <bruwutal/text.h>
#include "test/test.h"
static size_t _len = 0;
diff --git a/sources/utils/test/test.h b/sources/utils/test/test.h
index 91d9fa9d..6bff6422 100644
--- a/sources/utils/test/test.h
+++ b/sources/utils/test/test.h
@@ -1,6 +1,6 @@
#pragma once
-#include <brutal/debug.h>
+#include <bruwutal/debug.h>
typedef void TestFunc(void);
diff --git a/sysroot/boot/config.json b/sysroot/boot/config.json
index ec20af26..139a966c 100644
--- a/sysroot/boot/config.json
+++ b/sysroot/boot/config.json
@@ -1,7 +1,7 @@
{
"entries": [
{
- "name": "Brutal",
+ "name": "bruwutal",
"kernel": "/boot/kernel.elf",
"framebuffer": {
"width": 800,