Okay. I have figured out how to call the _PIC method. I called it the same way Linux does, but I'm not seeing any change in output. I'm going to try to get more debugging output, and I'm going to try booting different OSes on my computer, and maybe try stripping down the ACPI code until one of them (e.g. FreeBSD) stops working.
Also, I discovered that OpenBSD has its own ACPI implementation, which is much smaller than ACPICA, with 17 kLOC rather than 122 kLOC. This might be useful to port parts of if it works well enough.
On Sat, Apr 14, 2018 at 4:13 PM, John J. Karcher < devuser@...544...> wrote:
On 04/12/2018 05:02 AM, Christian Helmuth wrote:
Ben,
On Thu, Apr 12, 2018 at 02:14:04AM -0600, Nobody III wrote:
What exactly are you referring to, and how do I do it?
Unfortunately, you need to dig through the code, but if you dare it may be really rewarding. I'm neither the author of the Genode acpica-library port nor an expert in ACPICA at a whole, but find and grep yielded me some hints where to look at.
So, navigate to repos/libports/src/lib/acpica and try to find some appropriate backend functions to instrument. This may not suffice, so you should also navigate to contrib/acpica-<hash>/src/lib/acpica and instrument source/components/executer/exregion.c (AcpiExSystemMemorySpaceHandler). To be honest, from this point it's up to you to invest more effort to get your platform running.
Good luck
Nobody, I am also interesting in looking at this code, with the goal of getting networking to work in a VirtualBox client. (My main machine is AMD-based, so I am interested in that also, but I like to do most of my experimenting in a VM.)
Unfortunately, I don't have much free time at the moment, but I can try to assist your efforts as much as I can. I haven't worked on driver-level code in years, but I don't mind shaking off the rust for a good cause. ;^)
If you post your discoveries / observations on this ML (or elsewhere, as appropriate), I will do the same.
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main