Skip to content
Snippets Groups Projects
Verified Commit a446ac19 authored by Jacob Lorentzon's avatar Jacob Lorentzon
Browse files

Fix (rare) stack corruption on x86_64.

parent c0e07913
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ pub struct SigArea { ...@@ -28,7 +28,7 @@ pub struct SigArea {
pub pctl: usize, // TODO: find out how to correctly reference that static pub pctl: usize, // TODO: find out how to correctly reference that static
} }
#[repr(C, align(64))] #[repr(C)]
#[derive(Debug, Default)] #[derive(Debug, Default)]
pub struct ArchIntRegs { pub struct ArchIntRegs {
_pad: [usize; 2], // ensure size is divisible by 32 _pad: [usize; 2], // ensure size is divisible by 32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment