mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
dde_linux: remove custom lx_backtrace (use lx_emul_backtrace)
This commit is contained in:
parent
52fb4eee5f
commit
de9ea43616
@ -20,9 +20,6 @@
|
|||||||
#include <linux/interrupt.h>
|
#include <linux/interrupt.h>
|
||||||
|
|
||||||
|
|
||||||
extern void lx_backtrace(void);
|
|
||||||
|
|
||||||
|
|
||||||
int arch_probe_nr_irqs(void)
|
int arch_probe_nr_irqs(void)
|
||||||
{
|
{
|
||||||
/* needed for 'irq_get_irq_data()' in 'pci_assign_irq()' below */
|
/* needed for 'irq_get_irq_data()' in 'pci_assign_irq()' below */
|
||||||
|
@ -9,7 +9,6 @@ LD_OPT += --version-script=$(TARGET_LIB_DIR)/symbol.map
|
|||||||
LIBS += base jitterentropy pc_linux_generated pc_lx_emul
|
LIBS += base jitterentropy pc_linux_generated pc_lx_emul
|
||||||
INC_DIR := $(TARGET_LIB_DIR)
|
INC_DIR := $(TARGET_LIB_DIR)
|
||||||
SRC_CC += wlan.cc
|
SRC_CC += wlan.cc
|
||||||
SRC_CC += misc.cc
|
|
||||||
SRC_CC += firmware.cc
|
SRC_CC += firmware.cc
|
||||||
SRC_CC += socket_call.cc
|
SRC_CC += socket_call.cc
|
||||||
SRC_CC += lx_emul/random.cc
|
SRC_CC += lx_emul/random.cc
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
/*
|
|
||||||
* \brief Misc
|
|
||||||
* \author Josef Soentgen
|
|
||||||
* \date 2022-01-20
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2022 Genode Labs GmbH
|
|
||||||
*
|
|
||||||
* This file is distributed under the terms of the GNU General Public License
|
|
||||||
* version 2.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Genode includes */
|
|
||||||
#include <os/backtrace.h>
|
|
||||||
|
|
||||||
extern "C" void lx_backtrace(void)
|
|
||||||
{
|
|
||||||
Genode::backtrace();
|
|
||||||
}
|
|
@ -425,7 +425,7 @@ size_t _copy_to_iter(const void * addr, size_t bytes, struct iov_iter * i)
|
|||||||
|
|
||||||
asmlinkage __visible void dump_stack(void)
|
asmlinkage __visible void dump_stack(void)
|
||||||
{
|
{
|
||||||
lx_backtrace();
|
lx_emul_backtrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -479,7 +479,7 @@ void page_frag_free(void * addr)
|
|||||||
struct page *page = lx_emul_virt_to_pages(addr, 1ul);
|
struct page *page = lx_emul_virt_to_pages(addr, 1ul);
|
||||||
if (!page) {
|
if (!page) {
|
||||||
printk("BUG %s: page for addr: %p not found\n", __func__, addr);
|
printk("BUG %s: page for addr: %p not found\n", __func__, addr);
|
||||||
lx_backtrace();
|
lx_emul_backtrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
__free_pages(page, 0ul);
|
__free_pages(page, 0ul);
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void lx_backtrace(void);
|
|
||||||
|
|
||||||
void lx_emul_time_udelay(unsigned long usec);
|
void lx_emul_time_udelay(unsigned long usec);
|
||||||
|
|
||||||
int lx_emul_rfkill_get_any(void);
|
int lx_emul_rfkill_get_any(void);
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
/*
|
|
||||||
* \brief Misc
|
|
||||||
* \author Josef Soentgen
|
|
||||||
* \date 2022-01-20
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2022 Genode Labs GmbH
|
|
||||||
*
|
|
||||||
* This file is distributed under the terms of the GNU General Public License
|
|
||||||
* version 2.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Genode includes */
|
|
||||||
#include <os/backtrace.h>
|
|
||||||
|
|
||||||
extern "C" void lx_backtrace(void)
|
|
||||||
{
|
|
||||||
Genode::backtrace();
|
|
||||||
}
|
|
@ -21,7 +21,7 @@
|
|||||||
jiffies;
|
jiffies;
|
||||||
|
|
||||||
/* for general debugging purposes */
|
/* for general debugging purposes */
|
||||||
lx_backtrace;
|
lx_emul_backtrace;
|
||||||
|
|
||||||
local:
|
local:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user