Skip to content

Commit

Permalink
Make BaseRevision repr(C)
Browse files Browse the repository at this point in the history
  • Loading branch information
adavis628 committed Mar 31, 2024
1 parent a0da169 commit ec33dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub mod smp;
/// bootloader will assume revision 0.
///
/// The latest revision is 1.
#[repr(C)]
pub struct BaseRevision {
_id: [u64; 2],
revision: UnsafeCell<u64>,
Expand Down

0 comments on commit ec33dfc

Please sign in to comment.