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

'X64' mode doesn't seem to be running in Long Mode #1

Open
vsrinivas opened this issue Nov 27, 2014 · 0 comments
Open

'X64' mode doesn't seem to be running in Long Mode #1

vsrinivas opened this issue Nov 27, 2014 · 0 comments

Comments

@vsrinivas
Copy link

When CPUID claims 64-bit support, memtest86+ prints that it is going to Long mode and changes the '32b' printout to 'X64'.

rowhammer/src/main.c:test_start() seems to try to go to long mode by just setting the 'Long Mode Enable' bit of EFER. To go to long mode, paging must be enabled; long mode state will be reflected in the EFER.LMA bit. I don't see CR0[PG] or EFER[LMA] set while running the rowhammer test, however...

map_page() should call paging_on(), so perhaps I'm missing something here...

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

No branches or pull requests

1 participant