-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
centralize patches for riscv-fesvr, rocket16,18,20,recent working
- Loading branch information
Showing
7 changed files
with
21 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
diff --git a/fesvr/dtm.cc b/fesvr/dtm.cc | ||
index e1b15b2..c5f02d5 100644 | ||
index e1b15b2..60cdcb9 100644 | ||
--- a/fesvr/dtm.cc | ||
+++ b/fesvr/dtm.cc | ||
@@ -1,6 +1,7 @@ | ||
#include "dtm.h" | ||
#include "debug_defines.h" | ||
#include "encoding.h" | ||
+#include <stdexcept> | ||
@@ -4,6 +4,7 @@ | ||
#include <stdlib.h> | ||
#include <stdio.h> | ||
#include <string.h> | ||
+#include <stdexcept> | ||
#include <assert.h> | ||
#include <pthread.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/riscv/devices.h b/riscv/devices.h | ||
index 1bc9618d..5787513a 100644 | ||
--- a/riscv/devices.h | ||
+++ b/riscv/devices.h | ||
@@ -4,6 +4,7 @@ | ||
#include "decode.h" | ||
#include "mmio_plugin.h" | ||
#include <cstdlib> | ||
+#include <stdexcept> | ||
#include <string> | ||
#include <map> | ||
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
FIR_PATH = $(shell pwd)/freechips.rocketchip.system.DefaultConfig.fir | ||
|
||
include ../emulator.mk | ||
|
||
# override prior rule to get patch for riscv-fesvr | ||
riscv/lib/libfesvr.so: | ||
git submodule update --init riscv-fesvr | ||
cd riscv-fesvr; git checkout `cat ../fesvr.commit` | ||
patch riscv-fesvr/fesvr/dtm.cc riscv-fesvr.patch | ||
mkdir $(riscv_dir) | ||
cd riscv-fesvr; mkdir build; cd build; ../configure --prefix=$(riscv_dir) --target=riscv64-unknown-elf; make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
FIR_PATH = $(shell pwd)/freechips.rocketchip.system.DefaultConfig.fir | ||
|
||
include ../emulator.mk | ||
|
||
# override prior rule to get patch for riscv-fesvr | ||
riscv/lib/libfesvr.so: | ||
git submodule update --init riscv-fesvr | ||
cd riscv-fesvr; git checkout `cat ../fesvr.commit` | ||
patch riscv-fesvr/fesvr/dtm.cc riscv-fesvr.patch | ||
mkdir $(riscv_dir) | ||
cd riscv-fesvr; mkdir build; cd build; ../configure --prefix=$(riscv_dir) --target=riscv64-unknown-elf; make install |
This file was deleted.
Oops, something went wrong.