Skip to content

Aarch64 port: Initial commits - #82

Open
harshanavkis wants to merge 2 commits into
Mic92:mainfrom
harshanavkis:aarch64-port
Open

harshanavkis wants to merge 2 commits into
Mic92:mainfrom
harshanavkis:aarch64-port

Conversation

@harshanavkis

Copy link
Copy Markdown
Collaborator
  • disable kvm msr use on aarch64
  • change ptrace set and get regs request param

Comment thread src/elf.rs Resolved
Comment thread shell.nix Resolved
Comment thread src/kvm/tracee.rs Resolved
Comment thread src/ptrace.rs
/// Get user registers, as with `ptrace(PTRACE_GETREGS, ...)`
#[cfg(target_arch = "aarch64")]
fn getregs(pid: Pid) -> nix::Result<Regs> {
ptrace_get_data::<Regs>(Request::PTRACE_GETREGSET, pid)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The arguments for PTRACE_GETREGSET is a bit different. See here ptrace(2). I think we can switch for both x86/aarch64 to this instead.

Issue #47 initial commit.
- Change ptrace request params on both x86 and aarch64 to use *REGSET
- disable use of kvm msr on aarch64

Issue #47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants