mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-07 11:50:24 +00:00
parent
e0ed7c3cd0
commit
8738673625
@ -7,11 +7,17 @@ SRC_C += $(addprefix lib/,addr.c bit.c idpool.c)
|
|||||||
SRC_C += $(addprefix lib/thread/,init.c thread.c)
|
SRC_C += $(addprefix lib/thread/,init.c thread.c)
|
||||||
SRC_C += $(addprefix lib/cap/,cap.c read.c)
|
SRC_C += $(addprefix lib/cap/,cap.c read.c)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Dummies
|
||||||
|
#
|
||||||
|
SRC_C += dummy.c
|
||||||
|
|
||||||
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libc/include
|
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libc/include
|
||||||
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libmem/include
|
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libmem/include
|
||||||
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libmem
|
INC_DIR += $(CODEZERO_DIR)/conts/userlibs/libmem
|
||||||
|
|
||||||
vpath % $(LIBL4_DIR)/src
|
vpath % $(LIBL4_DIR)/src
|
||||||
|
vpath %.c $(REP_DIR)/src/lib/syscall
|
||||||
|
|
||||||
#
|
#
|
||||||
# The libl4 source files uses macros defined in macros.h but do not
|
# The libl4 source files uses macros defined in macros.h but do not
|
||||||
|
22
repos/base-codezero/src/lib/syscall/dummy.c
Normal file
22
repos/base-codezero/src/lib/syscall/dummy.c
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* \brief Dummies for Codezeros libmem (used by libl4)
|
||||||
|
* \author Sebastian Sumpf
|
||||||
|
* \date 2011-05-10
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2011-2013 Genode Labs GmbH
|
||||||
|
*
|
||||||
|
* This file is part of the Genode OS framework, which is distributed
|
||||||
|
* under the terms of the GNU General Public License version 2.
|
||||||
|
*/
|
||||||
|
|
||||||
|
void *mem_cache_zalloc(void *cache){ return 0; }
|
||||||
|
void *mem_cache_alloc(void *cache){ return 0; }
|
||||||
|
void *mem_cache_init(void *start, int cache_size, int struct_size,
|
||||||
|
unsigned int alignment) { return 0; }
|
||||||
|
int mem_cache_free(void *cache, void *addr) { return 0; }
|
||||||
|
|
||||||
|
void *kmalloc(int size) { return 0; }
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user