Skip to content

Commit

Permalink
Add registers::debug (#286)
Browse files Browse the repository at this point in the history
* Add registers::debug

* impl DebugAddressRegister in macro

* Declare debug register acesses as nomem

* Use u64 for DebugAddressRegisters

* Dr7: Remove get_ prefix from getters

* debug.rs: Remove redundant denying of unsafe_op_in_unsafe_fn

* debug.rs: Remove TryFrom impls

They don't add value over the inherent constructor functions.

* Don't set repr on DebugAddressRegisterNumber

* Make DebugAddressRegisterNumber an enum

* debug.rs: Remove redundant asm import

* Add DebugAddressRegister::NUM

* Strip Hw Prefix from HwBreakpointCondition and HwBreakpointSize
  • Loading branch information
mkroening authored Jun 23, 2022
1 parent d7e62d2 commit 3a8f380
Show file tree
Hide file tree
Showing 2 changed files with 501 additions and 0 deletions.
Loading

0 comments on commit 3a8f380

Please sign in to comment.