Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Pages Above Size 2^32 in TLB #7291

Open
oralmer opened this issue Feb 20, 2025 · 0 comments · May be fixed by #7292
Open

Support Pages Above Size 2^32 in TLB #7291

oralmer opened this issue Feb 20, 2025 · 0 comments · May be fixed by #7292
Assignees

Comments

@oralmer
Copy link
Contributor

oralmer commented Feb 20, 2025

Due to block_size being an int in caching_device_t, we can't have TLBs with a page size above 2^32, even though such pages can exist in real systems. Changing the type of the member will solve this.

@oralmer oralmer self-assigned this Feb 20, 2025
oralmer added a commit that referenced this issue Feb 20, 2025
Changed `block_size` to `long int` in order to allow larger pages in
TLB. Also added two minor fixes that came up while working on the
feature:
 - Argument name mismatches in `cache_lru_t` and `cache_fifo_t`
between the header and body.
 - Clearer error messages in `tlb_simulator_t`, so you can know
exactly what failed to build.

Fixes #7291
@oralmer oralmer linked a pull request Feb 20, 2025 that will close this issue
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 a pull request may close this issue.

1 participant