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

[WIP] arm64 PR #72

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

[WIP] arm64 PR #72

wants to merge 14 commits into from

Conversation

heatd
Copy link
Owner

@heatd heatd commented Apr 21, 2023

No description provided.

Add basic exception support, with basic context save/restore, state
dumping. At the moment, any exception panics the kernel.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
@heatd heatd force-pushed the pedro/arm64 branch 4 times, most recently from 04b0945 to 7637e55 Compare April 24, 2023 18:34
Hacky, and still very flawed. But we got to userspace! Stable!

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Also move a few functions into arch/{arch}/mmu.cpp, instead of vm.cpp.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Add signal support (including dispatch to userspace), tests and some of
them wired up with traps.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Also fix sigaltstack on arm64 and riscv64. Oops.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Userspace stat() should work well now.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Does not support baud rate configuration yet.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
We support it now!

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Add support for the pl031, a popular RTC chip used by many devices,
including qemu-virt.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
@heatd heatd marked this pull request as ready for review April 29, 2023 18:23
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
It's FAR_EL1, not CR2 (x86).

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Stops faulting on access to CNTPCT and CNTFRQ.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
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.

None yet

1 participant