mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 23:05:38 +00:00
13b919f5c8
Currently the "host" page size alignment API is really aligning to both host and target page sizes. There is the qemu_real_page_size which can be used for the actual host page size but it's missing a mask and ALIGN macro as provided for qemu_page_size. Complete the API. This allows system level code that cares about the host page size to use a consistent alignment interface without having to un-needingly align to the target page size. This also reduces system level code dependency on the cpu specific TARGET_PAGE_SIZE. Backports commit 4e51361d79289aee2985dfed472f8d87bd53a8df from qemu |
||
---|---|---|
.. | ||
exec | ||
fpu | ||
hw | ||
qapi | ||
qemu | ||
qom | ||
sysemu | ||
config.h | ||
elf.h | ||
glib_compat.h | ||
qemu-common.h |