forked from moizumi99/m99_riscv_emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VirtualToPhysical32 is moved to Mmu class.
- Loading branch information
Showing
6 changed files
with
47 additions
and
12 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
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
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,8 @@ | ||
// | ||
// Created by moiz on 5/10/20. | ||
// | ||
|
||
#ifndef ASSEMBLER_TEST_RISCVCPUCOMMON_H | ||
#define ASSEMBLER_TEST_RISCVCPUCOMMON_H | ||
|
||
#endif //ASSEMBLER_TEST_RISCVCPUCOMMON_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,14 @@ | ||
// | ||
// Created by moiz on 5/10/20. | ||
// | ||
|
||
#ifndef RISCV_CPU_RISCV_CPU_COMMON_H | ||
#define RISCV_CPU_RISCV_CPU_COMMON_H | ||
|
||
enum class PrivilegeMode { | ||
USER_MODE = 0, | ||
SUPERVISOR_MODE = 1, | ||
MACHINE_MODE = 3 | ||
}; | ||
|
||
#endif //RISCV_CPU_RISCV_CPU_COMMON_H |