Commit 4e3518b1 authored by jD91mZM2's avatar jD91mZM2

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

parent e5bbe5b7
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment