Closed tombl closed 3 months ago
Instead of working around the lack of section support, try to emulate them with a post-build generated json file.
Reverts some of the changes I made to avoid use of sections, including switching back to the kernel's implementation of percpu.
This still requires some hackery, because while we can get the boundaries of sections now, we still can't control their order/alignment.
Also removes use of threadlocals in favor of mutable module globals.
Instead of working around the lack of section support, try to emulate them with a post-build generated json file.
Reverts some of the changes I made to avoid use of sections, including switching back to the kernel's implementation of percpu.
This still requires some hackery, because while we can get the boundaries of sections now, we still can't control their order/alignment.
Also removes use of threadlocals in favor of mutable module globals.