adds rv64gc.cmake

This commit is contained in:
2025-04-11 15:37:34 +02:00
parent 38246a05ce
commit db3a2d68d6
2 changed files with 61 additions and 1 deletions

View File

@ -25,7 +25,8 @@ void __wrap_exit(int code) {
write(STDERR_FILENO, message, sizeof(message) - 1);
write_hex(STDERR_FILENO, code);
write(STDERR_FILENO, "\n", 1);
tohost = (code << 1) + 1;
write(STDERR_FILENO, "\n", 1);
// tohost = (code << 1) + 1; // here used to stop simulation
write(STDERR_FILENO, "\x04", 1);
for (;;)