From: Prashanth Mundkur Date: Mon, 26 Feb 2018 23:21:27 +0000 (-0800) Subject: Fix a missed header file in the softfloat include install. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fb7753da0bae7dd0499a3151e717b2b6fd2cf9d;p=riscv-isa-sim.git Fix a missed header file in the softfloat include install. --- diff --git a/debug_rom/debug_rom_defines.h b/debug_rom/debug_rom_defines.h deleted file mode 100644 index 616cf59..0000000 --- a/debug_rom/debug_rom_defines.h +++ /dev/null @@ -1,23 +0,0 @@ -// See LICENSE file for license details. - -#ifndef DEBUG_ROM_DEFINES_H -#define DEBUG_ROM_DEFINES_H - -// These are implementation-specific addresses in the Debug Module -#define DEBUG_ROM_HALTED 0x100 -#define DEBUG_ROM_GOING 0x104 -#define DEBUG_ROM_RESUMING 0x108 -#define DEBUG_ROM_EXCEPTION 0x10C - -// Region of memory where each hart has 1 -// byte to read. -#define DEBUG_ROM_FLAGS 0x400 -#define DEBUG_ROM_FLAG_GO 0 -#define DEBUG_ROM_FLAG_RESUME 1 - -// These needs to match the link.ld -#define DEBUG_ROM_WHERETO 0x300 -#define DEBUG_ROM_ENTRY 0x800 -#define DEBUG_ROM_TVEC 0x808 - -#endif diff --git a/riscv/debug_rom_defines.h b/riscv/debug_rom_defines.h new file mode 100644 index 0000000..616cf59 --- /dev/null +++ b/riscv/debug_rom_defines.h @@ -0,0 +1,23 @@ +// See LICENSE file for license details. + +#ifndef DEBUG_ROM_DEFINES_H +#define DEBUG_ROM_DEFINES_H + +// These are implementation-specific addresses in the Debug Module +#define DEBUG_ROM_HALTED 0x100 +#define DEBUG_ROM_GOING 0x104 +#define DEBUG_ROM_RESUMING 0x108 +#define DEBUG_ROM_EXCEPTION 0x10C + +// Region of memory where each hart has 1 +// byte to read. +#define DEBUG_ROM_FLAGS 0x400 +#define DEBUG_ROM_FLAG_GO 0 +#define DEBUG_ROM_FLAG_RESUME 1 + +// These needs to match the link.ld +#define DEBUG_ROM_WHERETO 0x300 +#define DEBUG_ROM_ENTRY 0x800 +#define DEBUG_ROM_TVEC 0x808 + +#endif diff --git a/softfloat/softfloat.mk.in b/softfloat/softfloat.mk.in index 77c1357..ff7637b 100644 --- a/softfloat/softfloat.mk.in +++ b/softfloat/softfloat.mk.in @@ -2,6 +2,7 @@ softfloat_subproject_deps = softfloat_hdrs = \ internals.h \ + platform.h \ primitives.h \ primitiveTypes.h \ softfloat.h \