mem: fix bug with slab_create

before this would overwrite into the next region, which would cause an
error at `buddy_alloc_helper` as the region overridden was the `len`
field of a `struct buddy_free_list`
This commit is contained in:
Michael Shaw 2023-04-20 21:43:43 -04:00
commit addf96aae7
3 changed files with 17 additions and 15 deletions

View file

@ -16,7 +16,7 @@ define DEFAULT_VAR =
endef
# User controllable CFLAGS.
CFLAGS ?= -g -O2 -pipe -Wall -Wextra
CFLAGS ?= -g -O0 -pipe -Wall -Wextra
# User controllable linker flags. We set none by default.
LDFLAGS ?=