Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/riscv/include/_types.h | ||
---|---|---|
98–99 | These are wrong for an int. arm & arm64 have unsigned wchar_t where i tseems to be signed on riscv. | |
sys/riscv/include/atomic.h | ||
67 | Should these also have "memory" in the clobber list to stop them from being reordered? | |
sys/riscv/include/exec.h | ||
41 | I don't think this is needed, it was for a.out. | |
sys/riscv/include/float.h | ||
80 | Needed? | |
sys/riscv/include/frame.h | ||
50 | Why 32? I thought x0 only ever contained zero. | |
sys/riscv/include/intr.h | ||
39 | Is this needed? | |
sys/riscv/include/kdb.h | ||
33–34 | We don't have these on arm64, they might not be needed. | |
sys/riscv/include/ofw_machdep.h | ||
32–35 | These have been replaces with <vm/vm.h> in the arm64 version. | |
sys/riscv/include/param.h | ||
86–92 | Do oyu need these? They look like arm64 things to support multiple page sizes. | |
108–110 | Is this needed? I'm not sure if it is on arm64, it was copied from sparc64 but the only other place that uses it is i386. | |
sys/riscv/include/pcb.h | ||
51 | Do you need all 32 registers? | |
sys/riscv/include/pcpu.h | ||
40 | I think this should be 129 | |
sys/riscv/include/pmc_mdep.h | ||
35 | Do we need this file if we don't support PMC? | |
sys/riscv/include/reg.h | ||
42 | 32? | |
sys/riscv/include/ucontext.h | ||
42 | 32? | |
48 | I would suggest you pad this to the expected size of these registers | |
52 | Then add it here with a flag field & padding |
sys/riscv/include/signal.h | ||
---|---|---|
41 | This contradicts the definition of the SIG_ATOMIC_MIN and SIG_ATOMIC_MAX. Amd64 has a bug there, which is hard to fix due to the ABI. |
These look fine, modulo my standing comment that we're duplicating *WAY* too much in the
headers. :(