mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
14718401ea
commit
481a8ede5f
@ -30,8 +30,7 @@ CC_WARN = -Wall -Wno-unused-variable -Wno-uninitialized \
|
||||
-Wno-unused-function -Wno-overflow -Wno-pointer-arith \
|
||||
-Wno-sign-compare
|
||||
|
||||
CC_C_OPT += -Wno-implicit-function-declaration -Wno-unused-but-set-variable \
|
||||
-Wno-pointer-sign
|
||||
CC_C_OPT += -Wno-unused-but-set-variable -Wno-pointer-sign
|
||||
|
||||
CC_C_OPT += -include $(LIB_INC_DIR)/lx_emul.h
|
||||
CC_CXX_OPT = -fpermissive
|
||||
@ -39,7 +38,7 @@ CC_CXX_OPT = -fpermissive
|
||||
SRC_CC = dummies.cc env.cc lxcc_emul.cc nic_handler.cc socket_handler.cc \
|
||||
timer_handler.cc
|
||||
|
||||
SRC_C += driver.c init.c lxc_emul.c socket.c
|
||||
SRC_C += driver.c dummies_c.c init.c lxc_emul.c socket.c
|
||||
|
||||
SRC_C += net/802/p8023.c
|
||||
SRC_C += $(addprefix net/core/,$(notdir $(wildcard $(NET_DIR)/core/*.c)))
|
||||
|
@ -190,7 +190,6 @@ DUMMY(-1, csum_unfold)
|
||||
DUMMY(-1, current)
|
||||
DUMMY(-1, current_egid)
|
||||
DUMMY(-1, current_text_addr)
|
||||
DUMMY(-1, current_uid_gid)
|
||||
DUMMY(-1, del_timer_sync)
|
||||
DUMMY(-1, dev_driver_string)
|
||||
DUMMY(-1, device_rename)
|
||||
@ -271,11 +270,9 @@ DUMMY(-1, ip_check_mc_rcu)
|
||||
DUMMY(-1, ip_mc_destroy_dev)
|
||||
DUMMY(-1, ip_mc_down)
|
||||
DUMMY(-1, ip_mc_drop_socket)
|
||||
DUMMY(-1, ip_mc_gsfget)
|
||||
DUMMY(-1, ip_mc_init_dev)
|
||||
DUMMY(-1, ip_mc_join_group)
|
||||
DUMMY(-1, ip_mc_leave_group)
|
||||
DUMMY(-1, ip_mc_msfget)
|
||||
DUMMY(-1, ip_mc_msfilter)
|
||||
DUMMY(-1, ip_mc_remap)
|
||||
DUMMY(-1, ip_mc_sf_allow)
|
||||
@ -380,7 +377,7 @@ DUMMY(-1, put_unaligned_be32)
|
||||
DUMMY(-1, __raise_softirq_irqoff)
|
||||
DUMMY(-1, raise_softirq_irqoff)
|
||||
DUMMY(-1, random32)
|
||||
DUMMY(-1, __ratelimit)
|
||||
DUMMY(-1, ___ratelimit)
|
||||
DUMMY(-1, raw_notifier_chain_unregister)
|
||||
DUMMY(-1, rcu_barrier)
|
||||
DUMMY(-1, register_gifconf)
|
||||
@ -413,7 +410,6 @@ DUMMY(-1, security_inet_csk_clone)
|
||||
DUMMY(-1, security_netlink_send)
|
||||
DUMMY(-1, security_release_secctx)
|
||||
DUMMY(-1, security_req_classify_flow)
|
||||
DUMMY(-1, security_secid_to_secctx)
|
||||
DUMMY(-1, security_skb_classify_flow)
|
||||
DUMMY(-1, security_skb_owned_by)
|
||||
DUMMY(-1, security_sk_classify_flow)
|
||||
@ -516,5 +512,6 @@ DUMMY(-1, xfrm4_udp_encap_rcv)
|
||||
DUMMY(-1, xfrm_sk_free_policy)
|
||||
DUMMY(-1, xfrm_user_policy)
|
||||
DUMMY(-1, yield)
|
||||
DUMMY(-1, __xchg)
|
||||
} /* extern "C" */
|
||||
|
||||
|
41
dde_linux/src/lib/lxip/dummies_c.c
Normal file
41
dde_linux/src/lib/lxip/dummies_c.c
Normal file
@ -0,0 +1,41 @@
|
||||
/**
|
||||
* \brief Dummies that cannot be implemented with the DUMMY macros
|
||||
* \author Sebastian Sumpf
|
||||
* \date 2014-02-10
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2014 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.
|
||||
*/
|
||||
|
||||
#include <lx_emul.h>
|
||||
|
||||
int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen)
|
||||
{
|
||||
printk("%s called (from %p) not implemented", __func__, __builtin_return_address(0));
|
||||
|
||||
*seclen = 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf,
|
||||
struct ip_msfilter *optval, int *optlen)
|
||||
{
|
||||
printk("%s called (from %p) not implemented", __func__, __builtin_return_address(0));
|
||||
|
||||
*optlen = 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf,
|
||||
struct group_filter *optval, int *optlen)
|
||||
{
|
||||
printk("%s called (from %p) not implemented", __func__, __builtin_return_address(0));
|
||||
|
||||
*optlen = 0;
|
||||
return -1;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@
|
||||
#include <linux/inetdevice.h>
|
||||
#include <net/tcp.h>
|
||||
#include <init.h>
|
||||
|
||||
/*
|
||||
* Header declarations and tuning
|
||||
*/
|
||||
@ -36,6 +37,19 @@ unsigned long nr_free_buffer_pages(void)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Declare stuff used
|
||||
*/
|
||||
int __ip_auto_config_setup(char *addrs);
|
||||
void core_sock_init(void);
|
||||
void core_netlink_proto_init(void);
|
||||
void subsys_net_dev_init(void);
|
||||
void fs_inet_init(void);
|
||||
void module_driver_init(void);
|
||||
void module_cubictcp_register(void);
|
||||
void late_ip_auto_config(void);
|
||||
void late_tcp_congestion_default(void);
|
||||
|
||||
/**
|
||||
* Initialize sub-systems
|
||||
*/
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <net/ip_fib.h>
|
||||
#include <uapi/linux/rtnetlink.h>
|
||||
#include <dde_kit/memory.h>
|
||||
#include <net/sock.h>
|
||||
#include <net/route.h>
|
||||
#include <net/tcp.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user