| 1234567891011121314151617181920212223242526272829303132333435 |
- ; Copyright (C) 2021 Rain
- ; This file is part of XNIX.
- ; XNIX is free software: you can redistribute it and/or modify
- ; it under the terms of the GNU General Public License as published by
- ; the Free Software Foundation, either version 3 of the License, or
- ; (at your option) and later version.
- ; XNIX is distributed in the hope that it will be useful,
- ; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ; GNU General Public License for more details.
- ; You should have received a copy of the GNU General Public License
- ; along with XNIX. If not, see <https://www.gnu.org/licenses/>.
- PATT_PRESENT equ 0x0001
- PATT_RDWR equ 0x0002
- PATT_USER equ 0x0004
- PATT_CACHEMEM equ 0x0008
- PATT_NOCACHE equ 0x0010
- PATT_ACCESSED equ 0x0020
- PATT_DIRTY equ 0x0040
- PATT_PAT equ 0x0080
- PATT_GLOBAL equ 0x0100
- ; 0x83 it is.
- PAGE_KERNEL equ PATT_PRESENT + PATT_RDWR + PATT_PAT
- ; this is linux's 007. (8-based 007)
- PAGE_USER equ PATT_PRESENT + PATT_RDWR + PATT_USER
|