Closed dancrossnyc closed 1 year ago
Add repr(C) to a few structs that mirror hardware registers; Rust was reordering these in ways that prevented boot.
repr(C)
I could have sworn I fixed this already, but apparently not. I wonder if I flubbed a commit. :-/
Signed-off-by: Dan Cross cross@oxidecomputer.com
Tested on ethx.
Add
repr(C)
to a few structs that mirror hardware registers; Rust was reordering these in ways that prevented boot.I could have sworn I fixed this already, but apparently not. I wonder if I flubbed a commit. :-/
Signed-off-by: Dan Cross cross@oxidecomputer.com