mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 22:48:20 +00:00
riscv64: fix build
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
const r = @import("root");
|
||||
const ke = r.ke;
|
||||
const rv64 = r.arch;
|
||||
const rv64 = @import("arch");
|
||||
const std = @import("std");
|
||||
|
||||
const int = @import("int.zig");
|
||||
|
||||
comptime {
|
||||
std.testing.refAllDecls(int);
|
||||
}
|
||||
|
||||
pub const tlb_max_pages = 32;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
const r = @import("root");
|
||||
const ke = r.ke;
|
||||
const std = @import("std");
|
||||
const rv64 = @import("arch");
|
||||
|
||||
export fn riscv_trap_handler(cause: usize, pc: usize) callconv(.c) void {
|
||||
if (cause == ((@as(usize, 1) << 63) | 5)) {
|
||||
|
||||
Reference in New Issue
Block a user