1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-18 23:51:01 +00:00
serenity/Kernel/Arch
Andreas Kling 09b1b09c19 Kernel: Assert if rounding-up-to-page-size would wrap around to 0
If we try to align a number above 0xfffff000 to the next multiple of
the page size (4 KiB), it would wrap around to 0. This is most likely
never what we want, so let's assert if that happens.
2021-02-14 10:01:50 +01:00
..
i386 Kernel: Use PANIC() in a bunch of places :^) 2021-02-14 09:36:58 +01:00
PC Kernel: Assert if rounding-up-to-page-size would wrap around to 0 2021-02-14 10:01:50 +01:00