riscv-non-isa / riscv-uefi

https://jira.riscv.org/browse/RVG-49
Creative Commons Attribution 4.0 International
24 stars 5 forks source link

mhartid is MXLEN bits #2

Closed jrtc27 closed 2 years ago

jrtc27 commented 2 years ago

I know there are places where both Linux and FreeBSD assume hartids can fit in 32 bits, but since mhartid is an MXLEN-bit CSR shouldn't BootHartId be OUT UINTN *?

vlsunil commented 2 years ago

Thanks @jrtc27 !. Yes, will change to native. Good catch!

vlsunil commented 2 years ago

changed to UINTN in v0.2