Skip to content

Conversation

@agicy
Copy link
Contributor

@agicy agicy commented Dec 11, 2025

This commit enhances the memory management of hvisor by adding hv_end address calculation and output, providing a clear definition of the hvisor memory layout and reserved memory regions.

Key changes:

  • Enhanced documentation with comments on all memory boundary functions
  • Introduced HV_EXTENDED_SIZE constant representing the total additional memory required beyond the core static area
  • Exposed HV_EXTENDED_SIZE as a global symbol for linker accessibility
  • Added compilation output of (START_ADDR END_ADDR) to clearly indicate the reserved memory region for hvisor

This implementation provides a clear and comprehensive view of the hvisor's memory requirements, making it easier to configure memory reservations for hvisor in different deployment scenarios.

Closes: #223

@github-actions github-actions bot added the feature New feature or request label Dec 11, 2025
@agicy agicy marked this pull request as draft December 11, 2025 08:00
@agicy
Copy link
Contributor Author

agicy commented Dec 11, 2025

Based on our discussion today, I plan to add a SIZE output. Since the reg property in Device Tree configurations typically uses the <base, size> format, this addition makes sense.

I have converted this PR to Draft status for now. I will mark it as Ready for review once the implementation is complete.

This commit enhances the memory management of hvisor by adding hv_end address
calculation and output, providing a clear definition of the hvisor memory
layout and reserved memory regions.

Key changes:
- Enhanced documentation with comments on all memory boundary functions
- Introduced `HV_EXTENDED_SIZE` constant representing the total additional
  memory required beyond the core static area
- Exposed `HV_EXTENDED_SIZE` as a global symbol for linker accessibility
- Added compilation output of (START_ADDR END_ADDR) to clearly indicate the
  reserved memory region for hvisor

This implementation provides a clear and comprehensive view of the hvisor's
memory requirements, making it easier to configure memory reservations for
hvisor in different deployment scenarios.
@agicy agicy marked this pull request as ready for review December 11, 2025 09:59
@agicy agicy requested a review from enkerewpo December 11, 2025 10:00
@enkerewpo
Copy link
Member

LGTM

@enkerewpo enkerewpo merged commit cc8f6e2 into syswonder:dev Dec 11, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants