WIP(ptrace): Make the register structs x86_64-specific

This commit is contained in:
jD91mZM2
2019-07-01 16:22:07 +02:00
parent e5bbe5b7e0
commit 4e3518b187
+2
View File
@@ -220,6 +220,7 @@ impl DerefMut for TimeSpec {
#[derive(Copy, Clone, Debug, Default)]
#[repr(C)]
#[cfg(target_arch = "x86_64")]
pub struct IntRegisters {
pub r15: usize,
pub r14: usize,
@@ -269,6 +270,7 @@ impl DerefMut for IntRegisters {
#[derive(Clone, Copy)]
#[repr(C)]
#[cfg(target_arch = "x86_64")]
pub struct FloatRegisters {
pub cwd: u16,
pub swd: u16,