Skip to content

Conversation

@luodeb
Copy link
Contributor

@luodeb luodeb commented Nov 26, 2024

  • Implement handle_system_register function to process system register access exceptions
  • Add new exit reasons for system register read and write operations
  • Update exception handling logic to include trapped MSR/MRS instructions
  • Add utility functions for extracting system register access information from ISS
  • Introduce Aarch64EmuRegs module for system register emulation

- Implement handle_system_register function to process system register access exceptions
- Add new exit reasons for system register read and write operations
- Update exception handling logic to include trapped MSR/MRS instructions
- Add utility functions for extracting system register access information from ISS
- Introduce Aarch64EmuRegs module for system register emulation
@luodeb luodeb requested review from guoweikang and hky1999 November 26, 2024 07:33
…ter write handler

- Remove unnecessary 'reg' parameter from system register write handler
- Update EmuRegEntry struct and related functions to reflect this change
- Simplify register write handling logic
- Remove Aarch64EmuRegs and related code
- Delete system_registers.rs module
- Update exception handling to use ESR_ISS_SYSREG_ADDR directly
- Simplify exception_sysreg_addr function and add documentation
@aarkegz aarkegz merged commit f7ccb6d into master Dec 6, 2024
6 checks passed
@luodeb luodeb deleted the debin/sysreg branch December 6, 2024 01:54
@luodeb luodeb restored the debin/sysreg branch December 6, 2024 01:54
@luodeb luodeb deleted the debin/sysreg branch December 12, 2024 08:51
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