mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 05:38:24 +00:00
Kernel: Remove PAGE_SIZE from CPU.h
We have that information in LibC, lets use that instead
This commit is contained in:
parent
7ca3d413f7
commit
553ea3036d
Notes:
sideshowbarker
2024-07-18 11:36:33 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 553ea3036d
Pull-request: https://github.com/SerenityOS/serenity/pull/8192
Reviewed-by: https://github.com/gunnarbeutner
2 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,6 @@
|
|||
#define READONLY_AFTER_INIT __attribute__((section(".ro_after_init")))
|
||||
#define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init")))
|
||||
|
||||
#define PAGE_SIZE 4096
|
||||
/* Map IRQ0-15 @ ISR 0x50-0x5F */
|
||||
#define IRQ_VECTOR_BASE 0x50
|
||||
#define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Debug.h>
|
||||
#include <LibC/limits.h>
|
||||
|
||||
#define KMALLOC_SCRUB_BYTE 0xbb
|
||||
#define KFREE_SCRUB_BYTE 0xaa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue