Changeset 29 for trunk/hal/x86_64/hal_boot.h
- Timestamp:
- Jun 21, 2017, 8:35:30 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_boot.h
r25 r29 2 2 * hal_boot.h - General values used by the boot procedure 3 3 * 4 * Author Maxime Villard (2017) 4 * Copyright (c) 2017 Maxime Villard 5 * 6 * This file is part of ALMOS-MKH. 5 7 * 6 * Copyright (c) UPMC Sorbonne Universites 7 * 8 * This file is part of ALMOS-kernel. 9 * 10 * ALMOS-kernel is free software; you can redistribute it and/or modify it 8 * ALMOS-MKH is free software; you can redistribute it and/or modify it 11 9 * under the terms of the GNU General Public License as published by 12 10 * the Free Software Foundation; version 2.0 of the License. 13 11 * 14 * ALMOS- kernelis distributed in the hope that it will be useful, but12 * ALMOS-MKH is distributed in the hope that it will be useful, but 15 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 16 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 18 16 * 19 17 * You should have received a copy of the GNU General Public License 20 * along with ALMOS- kernel; if not, write to the Free Software Foundation,18 * along with ALMOS-MKH.; if not, write to the Free Software Foundation, 21 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22 20 */ … … 36 34 /* -------------------------------------------------------------------------- */ 37 35 36 #define ASM_ALIGN_TEXT .align 16 37 #define ASM_ENTRY(x) \ 38 .text; ASM_ALIGN_TEXT; .globl x; .type x,@function; x: 39 40 /* -------------------------------------------------------------------------- */ 41 38 42 #define PSL_MBO 0x00000002 39 43 40 44 #define STKPAGES 4 45 #define STKSIZE (PAGE_SIZE * STKPAGES) 41 46 42 47 #define NKL4_KIMG_ENTRIES 1 … … 107 112 #define L4_SLOT_KERNBASE 511 108 113 114 /* 115 * L3 = (KERNBASE % NBPD_L4) / NBPD_L3 116 * L2 = (KERNBASE % NBPD_L3) / NBPD_L2 117 */ 118 #define L3_SLOT_KERNBASE 510 119 #define L2_SLOT_KERNBASE 0 120 109 121 #define PDIR_SLOT_KERN L4_SLOT_KERN 110 122 #define PDIR_SLOT_PTE L4_SLOT_PTE
Note: See TracChangeset
for help on using the changeset viewer.