AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
system.h
Go to the documentation of this file.
1#ifndef _AARCH64_SYSTEM_H
2#define _AARCH64_SYSTEM_H
3
4#include <config.h>
5
6/* aarch64 uses 4 KiB pages (the translation granule, TCR_EL1.TG0/TG1). */
7#define PAGE_SIZE (0x1000)
8#define PAGE_MASK (PAGE_SIZE - 1)
9#define PAGE_SHIFT (12)
10
11#include_next <core/system.h>
12
13#endif /* ! _AARCH64_SYSTEM_H */