Changes

367 bytes added ,  01:11, 29 July 2017
Line 177: Line 177:  
|-
 
|-
 
! Pattern of lower bits
 
! Pattern of lower bits
 +
! Lowest clear bitmask/bit
 
! Type
 
! Type
 
! Fields
 
! Fields
 
|-
 
|-
 
| <code>0bxxxxxxxxxxxx0111</code>
 
| <code>0bxxxxxxxxxxxx0111</code>
 +
|
 
| Kernel flags
 
| Kernel flags
 
| Bit31-24: Highest allowed cpu id, bit23-16: Lowest allowed cpu id, bit15-10: Highest allowed thread prio, bit9-4: Lowest allowed thread prio
 
| Bit31-24: Highest allowed cpu id, bit23-16: Lowest allowed cpu id, bit15-10: Highest allowed thread prio, bit9-4: Lowest allowed thread prio
 
|-
 
|-
 
| <code>0bxxxxxxxxxxx01111</code>
 
| <code>0bxxxxxxxxxxx01111</code>
 +
|
 
| Syscall mask
 
| Syscall mask
 
| Bits 29-31: Syscall mask table index; Bits 5-28: Mask
 
| Bits 29-31: Syscall mask table index; Bits 5-28: Mask
 
|-
 
|-
 
| <code>0bxxxxxxxxx0111111</code>
 
| <code>0bxxxxxxxxx0111111</code>
 +
|
 
| Map IO page (RW)
 
| Map IO page (RW)
 
| Bits 7-31: Page
 
| Bits 7-31: Page
 
|-
 
|-
 
| <code>0bxxxxxxxx01111111</code>
 
| <code>0bxxxxxxxx01111111</code>
 +
|
 
| Map IO range
 
| Map IO range
 
| Bits 7-30: Alternating start page and number of pages, bit31: Alternating read-only flag then MemoryAttribute 0x2001/0x42002 selector flag
 
| Bits 7-30: Alternating start page and number of pages, bit31: Alternating read-only flag then MemoryAttribute 0x2001/0x42002 selector flag
 
|-
 
|-
 
| <code>0bxxxx011111111111</code>
 
| <code>0bxxxx011111111111</code>
 +
|
 
| Interrupt pair
 
| Interrupt pair
 
| Bits 12-21: Irq0, bits 20-31: Irq1, 0x3FF means empty.
 
| Bits 12-21: Irq0, bits 20-31: Irq1, 0x3FF means empty.
 
|-
 
|-
 
| <code>0xxxx0111111111111</code>
 
| <code>0xxxx0111111111111</code>
 +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| <code>0xxx01111111111111</code>
 
| <code>0xxx01111111111111</code>
 +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| <code>0xx011111111111111</code>
 
| <code>0xx011111111111111</code>
|
+
| bit14
|
+
| Kernel release version
 +
| Bits 15-X: Version. The raw descriptor is compared with 0x80000, when less than an error is returned. This is equivalent to comparing the bits starting at bit15 with 0x10. The raw descriptor is also stored into {state}. This enforces a minimum required version, not a maximum.
 
|-
 
|-
 
| <code>0x0111111111111111</code>
 
| <code>0x0111111111111111</code>
 +
| bit15
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| All ones
 
| All ones
 +
|
 
| Ignored
 
| Ignored
 
|
 
|
 
|}
 
|}