diff --git a/arch/aarch64/dump.cc b/arch/aarch64/dump.cc new file mode 100644 index 0000000000000000000000000000000000000000..8f72237d43293ea4422d0734d99c80dad9221e27 --- /dev/null +++ b/arch/aarch64/dump.cc @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2014 Huawei Technologies Duesseldorf GmbH + * + * This work is open source software, licensed under the terms of the + * BSD license as described in the LICENSE file in the top-level directory. + */ + +#include <osv/debug.h> +#include <osv/demangle.hh> + +#include "dump.hh" + +void dump_registers(exception_frame* ef) +{ +} diff --git a/arch/aarch64/dump.hh b/arch/aarch64/dump.hh new file mode 100644 index 0000000000000000000000000000000000000000..55260a6d98743bb8ff39ab183e1c686a4bc1275f --- /dev/null +++ b/arch/aarch64/dump.hh @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2013 Cloudius Systems, Ltd. + * + * This work is open source software, licensed under the terms of the + * BSD license as described in the LICENSE file in the top-level directory. + */ + +#ifndef DUMP_HH +#define DUMP_HH + +struct exception_frame; + +void dump_registers(exception_frame* ef); + +#endif /* DUMP_HH */ diff --git a/build.mk b/build.mk index 855573376f82bfdeeb649747510a0ce1131252d2..b2b13d63832ad1e0add24fa3a2a936bfb38646e2 100644 --- a/build.mk +++ b/build.mk @@ -722,6 +722,7 @@ objects += arch/$(arch)/elf-dl.o objects += arch/$(arch)/entry.o objects += arch/$(arch)/mmu.o objects += arch/$(arch)/exceptions.o +objects += arch/$(arch)/dump.o ifeq ($(arch),aarch64) objects += arch/$(arch)/arm-clock.o @@ -730,7 +731,6 @@ endif ifeq ($(arch),x64) objects += arch/x64/arch-trace.o -objects += arch/x64/dump.o objects += arch/x64/ioapic.o objects += arch/x64/math.o objects += arch/x64/apic.o @@ -739,6 +739,7 @@ objects += arch/x64/cpuid.o objects += arch/x64/entry-xen.o objects += arch/x64/xen.o objects += arch/x64/xen_intr.o +objects += core/sampler.o objects += $(acpi) endif # x64 @@ -778,7 +779,6 @@ objects += core/net_channel.o objects += core/demangle.o objects += core/async.o objects += core/net_trace.o -objects += core/sampler.o include $(src)/fs/build.mk include $(src)/libc/build.mk