mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
[metal] Minor fixes to libc/runtime/*.internal.h comments
This commit is contained in:
parent
28bd57c6d0
commit
15276ad002
2 changed files with 11 additions and 11 deletions
|
@ -40,7 +40,7 @@ struct mman {
|
||||||
COSMOPOLITAN_C_END_
|
COSMOPOLITAN_C_END_
|
||||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||||
|
|
||||||
/* Values for mman::pc_video_type. TODO: implement graphics modes. */
|
/* Values for mman::pc_video_type. */
|
||||||
#define PC_VIDEO_TEXT 0
|
#define PC_VIDEO_TEXT 0
|
||||||
#define PC_VIDEO_BGR565 1
|
#define PC_VIDEO_BGR565 1
|
||||||
#define PC_VIDEO_BGR555 2
|
#define PC_VIDEO_BGR555 2
|
||||||
|
|
|
@ -145,15 +145,15 @@
|
||||||
│ (If this maps 2MB/1GB page and CR4.PGE) Global┐││││││││
|
│ (If this maps 2MB/1GB page and CR4.PGE) Global┐││││││││
|
||||||
│ (If IsPage 2MB/1GB, see Intel V3A § 11.12) PAT │││││││││
|
│ (If IsPage 2MB/1GB, see Intel V3A § 11.12) PAT │││││││││
|
||||||
│ │ │││││││││
|
│ │ │││││││││
|
||||||
│ ┌────────────────────────────────────┤ │││││││││
|
│ ┌─────────────────────────────────────┤ │││││││││
|
||||||
│ Must Be 0┐│ Next Page Table Address (!IsPage) │ │││││││││
|
│ Must Be 0┐│ Next Page Table Address (!IsPage) │ │││││││││
|
||||||
│ │├────────────────────────────────────┤ │││││││││
|
│ │├─────────────────────────────────────┤ │││││││││
|
||||||
│ ││ Physical Address 4KB │ │││││││││
|
│ ││ Physical Address 4KB │ │││││││││
|
||||||
│┌───┐┌─────┐│├───────────────────────────┐ │ign│││││││││
|
│┌──┐┌─────┐│├────────────────────────────┐ │ign│││││││││
|
||||||
││PKE││ ign │││ Physical Address 2MB │ │┌┴┐│││││││││
|
││PK││ ign │││ Physical Address 2MB │ │┌┴┐│││││││││
|
||||||
││ ││ ││├──────────────────┐ │ ││ ││││││││││
|
││ ││ ││├───────────────────┐ │ ││ ││││││││││
|
||||||
││ ││ │││ Phys. Addr. 1GB │ │ ││ ││││││││││
|
││ ││ │││ Phys. Addr. 1GB │ │ ││ ││││││││││
|
||||||
││ ││ │││ │ │ ││ ││││││││││
|
││ ││ │││ │ │ ││ ││││││││││
|
||||||
6666555555555544444444443333333333222222222211111111110000000000
|
6666555555555544444444443333333333222222222211111111110000000000
|
||||||
3210987654321098765432109876543210987654321098765432109876543210*/
|
3210987654321098765432109876543210987654321098765432109876543210*/
|
||||||
#define PAGE_V /* */ 0b000000000001
|
#define PAGE_V /* */ 0b000000000001
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
#define PAGE_2MB /* */ 0b000110000000
|
#define PAGE_2MB /* */ 0b000110000000
|
||||||
#define PAGE_1GB /* */ 0b000110000000
|
#define PAGE_1GB /* */ 0b000110000000
|
||||||
#define PAGE_IGN1 /* */ 0b111000000000
|
#define PAGE_IGN1 /* */ 0b111000000000
|
||||||
#define PAGE_RSRV /* blinkenlights reservation */ 0b001000000000
|
#define PAGE_RSRV /* blinkenlights/libc reservation */ 0b001000000000
|
||||||
#define PAGE_GROD /* blinkenlights MAP_GROWSDOWN */ 0b010000000000
|
#define PAGE_GROD /* blinkenlights MAP_GROWSDOWN */ 0b010000000000
|
||||||
#define PAGE_TA 0x00007ffffffff000
|
#define PAGE_TA 0x00007ffffffff000
|
||||||
#define PAGE_PA2 0x00007fffffe00000
|
#define PAGE_PA2 0x00007fffffe00000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue