32-bit/64-bit address space compatibility

This commit is contained in:
Blaise Tine 2024-05-28 22:30:59 -07:00
parent 364136d66f
commit 68d2ac6f5e
18 changed files with 87 additions and 70 deletions

View file

@ -26,19 +26,15 @@
using namespace vortex;
static void show_usage() {
std::cout << "Usage: [-r: riscv-test] [-h: help] <program>" << std::endl;
std::cout << "Usage: [-h: help] <program>" << std::endl;
}
bool riscv_test = false;
const char* program = nullptr;
static void parse_args(int argc, char **argv) {
int c;
while ((c = getopt(argc, argv, "rh?")) != -1) {
switch (c) {
case 'r':
riscv_test = true;
break;
case 'h':
case '?':
show_usage();