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

Allow kernel to access PLIC #6

Closed
blitz opened this issue Jan 27, 2021 · 0 comments
Closed

Allow kernel to access PLIC #6

blitz opened this issue Jan 27, 2021 · 0 comments
Labels
enhancement New feature or request platform:ulx3s

Comments

@blitz
Copy link
Owner

blitz commented Jan 27, 2021

The kernel needs a mapping of the PLIC. We can model this as a memory resource and use our normal resource mapping scheme.

SaxonSoc on ULX3S has the following PLIC:

                interrupt-controller@c00000 {
                        compatible = "sifive,plic-1.0.0\0sifive,fu540-c000-plic";
                        #interrupt-cells = <0x01>;
                        interrupt-controller;
                        interrupts-extended = <0x01 0x0b 0x01 0x09 0x02 0x0b 0x02 0x09>;
                        reg = <0xc00000 0x400000>;
                        riscv,ndev = <0x20>;
                        phandle = <0x03>;
                };

Docs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request platform:ulx3s
Projects
None yet
Development

No branches or pull requests

1 participant