prism2.device: Compiler delint
[AROS.git] / arch / all-hosted / bootstrap / memory.c
blob626dfe232931bb526c154e27ec00e317db2c03b1
1 #include <stdlib.h>
3 /*
4 * Allocate memory for kickstart's .code and .rodata.
5 * At this point it needs to be writable because we will load
6 * kickstart files into it afterwards.
7 */
8 void *AllocateRO(size_t len)
10 return malloc(len);
14 * Commit executable and read-only state for kickstart's .code
16 int SetRO(void *addr, size_t len)
18 /* 0 means success */
19 return 0;
23 * Allocate simple read-write memory for kickstart's .data and .bss.
25 void *AllocateRW(size_t len)
27 return malloc(len);
31 * Allocate read-write-execute area to be used as AROS RAM
33 void *AllocateRAM(size_t len)
35 return malloc(len);