This picks up the major work of allowing multiple heap implementations and enable dlmalloc as an alternate heap to the simple existing one (now called 'miniheap'). Also added a novm page allocator for memory management on systems too small or missing an mmu to have a vm. Not much more than a simple bitmap allocator that the heap pulls from. Allows for other heaps and/or users of physical memory to coexist and span multiple banks of memory.
22 lines
307 B
Makefile
22 lines
307 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
ARCH := microblaze
|
|
|
|
MODULE_DEPS += \
|
|
lib/cbuf
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/intc.c \
|
|
$(LOCAL_DIR)/platform.c \
|
|
$(LOCAL_DIR)/timer.c \
|
|
$(LOCAL_DIR)/uartlite.c
|
|
|
|
MEMBASE ?= 0x0
|
|
MEMSIZE ?= 0x20000 # 128KB
|
|
|
|
MODULE_DEPS += \
|
|
|
|
include make/module.mk
|