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

Broken direct assignment of MMIO regions smaller than 4K #21

Open
parthy opened this issue Jul 12, 2013 · 1 comment
Open

Broken direct assignment of MMIO regions smaller than 4K #21

parthy opened this issue Jul 12, 2013 · 1 comment
Labels

Comments

@parthy
Copy link

parthy commented Jul 12, 2013

There are several places in the direct assignment code where it fails because e.g. a size of 2KiB gets rounded down to 0:

in_range returns false:
https://github.com/TUD-OS/NUL/blob/master/vancouver/model/directmem.cc#L35
https://github.com/TUD-OS/NUL/blob/master/vancouver/model/pcidirect.cc#L330

mapping is of size 0:
https://github.com/TUD-OS/NUL/blob/master/vancouver/model/pcidirect.cc#L333

@blitz
Copy link
Contributor

blitz commented Oct 28, 2013

Fixed in seoul. Needs to be backported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants