Hi,
Two possible ideas:
- Pass the value in from qemu
Do you mean to create the 64bit region dynamically? I've tried to obtain RAM size somehow inside DSL code, but the ACPI spec doesn't tell how to do that.
There is a global variable IIRC. You could also check the e820 table passed in from qemu.
- Get a range toward the upper end of the memory, around 1<<40
Yes. This solution works great. And this is very simple as well. Just wondering if it will be good as a complete solution?
I would have tried this first too ;)
Care to share the patches so we can review & merge them?
thanks, Gerd