Skip to content

Conversation

cagatay-y
Copy link
Contributor

I am not sure why initializing PhysAlloc after the mapping works, as the mapping functions seem to depend on it.

@mkroening mkroening self-assigned this Oct 14, 2024
@mkroening mkroening self-requested a review October 14, 2024 09:35
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

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

I am not sure why initializing PhysAlloc after the mapping works, as the mapping functions seem to depend on it.

That is only true if there are no additional page tables (and thus physical frames) needed to perform the mapping. See Mapper::map_to_with_table_flags

We are also moving away from unrelocatable kernels. We now support relocatable GCC-based kernels: hermit-os/hermit-entry#37

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.

2 participants