Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 Task Functions
 TESTING_MODE, CALLVECTORLIST
 Thread Priorities, THREADSTRUCT
 Thread Statuses, THREADSTRUCT
 THREAD_PRIORITY_ABOVE_NORMAL, THREADSTRUCT
 THREAD_PRIORITY_BELOW_NORMAL, THREADSTRUCT
 THREAD_PRIORITY_ERROR_RETURN, THREADSTRUCT
 THREAD_PRIORITY_HIGHEST, THREADSTRUCT
 THREAD_PRIORITY_IDLE, THREADSTRUCT
 THREAD_PRIORITY_LOWEST, THREADSTRUCT
 THREAD_PRIORITY_NORMAL, THREADSTRUCT
 THREAD_PRIORITY_TIME_CRITICAL, THREADSTRUCT
 THREAD_SCHEDULER_ACCESS_BITNUM
 THREAD_STATUS_EMPTY, THREADSTRUCT
 THREAD_STATUS_IDLE, THREADSTRUCT
 THREAD_STATUS_IO_WAITING, THREADSTRUCT
 THREAD_STATUS_IOAVL_WAITING, THREADSTRUCT
 THREAD_STATUS_LOCK_GET, THREADSTRUCT
 THREAD_STATUS_LOCK_WAIT, THREADSTRUCT
 THREAD_STATUS_MSG_WAITING, THREADSTRUCT
 THREAD_STATUS_RUNNING, THREADSTRUCT
 THREAD_STATUS_SLEEP, THREADSTRUCT
 THREAD_STATUS_SLEEP_IORET, THREADSTRUCT
 THREAD_STATUS_SWITCHED, THREADSTRUCT
 Threads
 Threads.asm
 Threads.inc
 ThreadScheduler
 ThreadScheduler.asm
 ThreadScheduler.inc
 ThreadSchedulerTSS
 THREADSTRUCT
 Time.asm
 Time.inc
 Timing Functions
 TSS_DESC
V
 VA_GDT, PHYSPAGEINFO
 Variables
 VECTOR
 Vector.asm
 Vector.inc
 Vector_delete
 Vector_doubleCapacity
 Vector_halfCapacity
 Vector128_add
 Vector128_addFirst
 Vector128_addLast
 Vector128_addUnordered
 Vector128_clear
 Vector128_copy
 Vector128_equals
 Vector128_get
 Vector128_getFirst
 Vector128_getLast
 Vector128_indexOf
 Vector128_lastIndexOf
 Vector128_new
 Vector128_remove
 Vector128_removeFirst
 Vector128_removeLast
 Vector128_set
 Vector128Fixed_add
 Vector128Fixed_addFirst
 Vector128Fixed_addLast
 Vector128Fixed_addUnordered
 Vector128Fixed_remove
 Vector128Fixed_removeFirst
 Vector128Fixed_removeLast
 Vector16_add
 Vector16_addFirst
 Vector16_addLast
 Vector16_addUnordered
 Vector16_clear
 Vector16_copy
 Vector16_equals
 Vector16_get
 Vector16_getFirst
 Vector16_getLast
 Vector16_indexOf
 Vector16_lastIndexOf
 Vector16_new
 Vector16_remove
 Vector16_removeFirst
 Vector16_removeLast
 Vector16_set
 Vector16Fixed_add
 Vector16Fixed_addFirst
 Vector16Fixed_addLast
 Vector16Fixed_addUnordered
 Vector16Fixed_remove
 Vector16Fixed_removeFirst
 Vector16Fixed_removeLast
 Vector32.asm
 Vector32_add
 Vector32_addFirst
 Vector32_addLast
 Vector32_addUnordered
 Vector32_clear
 Vector32_copy
 Vector32_equals
 Vector32_get
 Vector32_getFirst
 Vector32_getLast
 Vector32_indexOf
 Vector32_lastIndexOf
 Vector32_new
 Vector32_remove
 Vector32_removeFirst
 Vector32_removeLast
 Vector32_set
 Vector32Fixed_add
 Vector32Fixed_addFirst
 Vector32Fixed_addLast
 Vector32Fixed_addUnordered
 Vector32Fixed_remove
 Vector32Fixed_removeFirst
 Vector32Fixed_removeLast
 Vector64_add
 Vector64_addFirst
 Vector64_addLast
 Vector64_addUnordered
 Vector64_clear
 Vector64_copy
 Vector64_equals
 Vector64_get
 Vector64_getFirst
 Vector64_getLast
 Vector64_indexOf
 Vector64_lastIndexOf
 Vector64_new
 Vector64_remove
 Vector64_removeFirst
 Vector64_removeLast
 Vector64_set
 Vector64Fixed_add
 Vector64Fixed_addFirst
 Vector64Fixed_addLast
 Vector64Fixed_addUnordered
 Vector64Fixed_remove
 Vector64Fixed_removeFirst
 Vector64Fixed_removeLast
 Vector8.asm
 Vector8_add
 Vector8_addFirst
 Vector8_addLast
 Vector8_addUnordered
 Vector8_clear
 Vector8_copy
 Vector8_equals
 Vector8_get
 Vector8_getFirst
 Vector8_getLast
 Vector8_indexOf
 Vector8_lastIndexOf
 Vector8_new
 Vector8_remove
 Vector8_removeFirst
 Vector8_removeLast
 Vector8_set
 Vector8Fixed_add
 Vector8Fixed_addFirst
 Vector8Fixed_addLast
 Vector8Fixed_addUnordered
 Vector8Fixed_remove
 Vector8Fixed_removeFirst
 Vector8Fixed_removeLast
 VectorByte_binarySearch
 VectorByte_bubbleSort
 VectorCopyMacro
 VectorDqword_binarySearch
 VectorDword_binarySearch
 VectorDword_bubbleSort
 VectorDword_max
 VectorDword_min
 VectorQword_binarySearch
 VectorReal4_binarySearch
 VectorReal4_bubbleSort
 VectorReal8_binarySearch
 VectorSByte_binarySearch
 VectorSByte_bubbleSort
 VectorSDqword_binarySearch
 VectorSDword_binarySearch
 VectorSDword_bubbleSort
 VectorSDword_max
 VectorSDword_min
 VectorSQword_binarySearch
 VectorSWord_binarySearch
 VectorWord_binarySearch
 VirtualClusNumToSector
TRUE means that testing operations will be compiled-in and FALSE means taht they won’t
These constants define thread priorities for use in THREADSTRUCT.PriorityLevel.
These constants define thread statuses for use in THREADSTRUCT.Status.
above-normal, but not highest, priority
below-normal, but not lowest, priority
not a thread priority; indicates error in functions returning a thread priority
highest non-time-critical priority
thread is only run when no other threads are queued to run
lowest non-idle priority
normal (and default) priority
thread is likely to be always first in the queue to run whenever it is queued
lock for access to ThreadScheduler
thread doesn’t exist: empty slot where applicable
thread has nothing to do at the moment
thread waiting for I/O to complete: StatusDatum indicates DeviceNum (see <I/O>)
thread waiting for a certain I/O device num in StatusDatum to become avaliable; returns with access to the device
thread waiting to acquire a lock: StatusDataum is address of the lock; see GetLock
thread waiting to be notified on a lock: StatusDatum is address of the lock; see WaitForNotify
thread waiting for message to be processed by another thread: StatusDatum holds the handle of that thread
thread is running
thread chose to sleep: StatusDatum indicates minimum sleeping time requested in milliseconds, or INFINITE for always
same as THREAD_STATUS_SLEEP, except that it will receive I/O callbacks
thread ran out of time: StatusDatum indicates time spent in last time slice (milliseconds)
The Threads section of Core provides thread and process management functions, including common scheduling operations.
This file defines thread management functions of PwnOS.
This file defines structures and cosntants for thread management functions of PwnOS.
Saves the state of the previous task and jumps to the next task to run.
This file defines the thread scheduler task of PwnOS and associated functions.
This file defines constants and macros for the thread scheduler task of PwnOS.
ThreadSchedulerTSS TSS32 <>
This is the special TSS32 of the ThreadScheduler task.
This structure defines the state of a thread.
This file contains functions specifically related to timing in PwnOS.
This file contains constants, structures, and macros specifically related to timing in PwnOS.
Define a qword of data containing a TSS descriptor.
Virtual Address of GDT
This structure is the base of a resizable (or fixed-capacity) array data structure.
This file defines the library for VECTOR data types and algorithms thereof.
This file defines structures and constants for the library of VECTOR data types and algorithms.
Deallocates a VECTOR
Doubles the capacity of a VECTOR
Halves the capacity of a VECTOR
Adds a dqword to a specified index of a VECTOR
Adds a dqword to the beginning of a VECTOR
Adds a dqword to the end of a VECTOR
Adds a dqword to a specified index of an unordered VECTOR
Clears a VECTOR, setting its capacity back to the minimum
Copies a VECTOR
Checks the equality of two VECTORs
Gets a dqword from a VECTOR
Gets the first dqword from a VECTOR
Gets the last dqword from a VECTOR
Returns the index of a dqword in a VECTOR, or -1 if it’s not in the VECTOR
Returns the last index of a dqword in a VECTOR, or -1 if it’s not in the VECTOR
Allocates a new VECTOR of dqwords
Removes a dqword from a specified index of a VECTOR
Removes a dqword from the beginning of a VECTOR
Removes a dqword from the end of a VECTOR
Sets a dqword in a VECTOR
Adds a dqword to a specified index of a fixed-capacity VECTOR
Adds a dqword to the beginning of a VECTOR
Adds a dqword to the end of a VECTOR
Adds a dqword to a specified index of a fixed-capacity unordered VECTOR
Removes a dqword from a specified index of a fixed-capacity VECTOR
Removes a dqword from the beginning of a VECTOR
Removes a dqword from the end of a VECTOR
Adds a word to a specified index of a VECTOR
Adds a word to the beginning of a VECTOR
Adds a word to the end of a VECTOR
Adds a word to a specified index of an unordered VECTOR
Clears a VECTOR, setting its capacity back to the minimum
Copies a VECTOR
Checks the equality of two VECTORs
Gets a word from a VECTOR
Gets the first word from a VECTOR
Gets the last word from a VECTOR
Returns the index of a word in a VECTOR, or -1 if it’s not in the VECTOR
Returns the last index of a word in a VECTOR, or -1 if it’s not in the VECTOR
Allocates a new VECTOR of words
Removes a word from a specified index of a VECTOR
Removes a word from the beginning of a VECTOR
Removes a word from the end of a VECTOR
Sets a word in a VECTOR
Adds a word to a specified index of a fixed-capacity VECTOR
Adds a word to the beginning of a VECTOR
Adds a word to the end of a VECTOR
Adds a word to a specified index of a fixed-capacity unordered VECTOR
Removes a word from a specified index of a fixed-capacity VECTOR
Removes a word from the beginning of a VECTOR
Removes a word from the end of a VECTOR
TODO: Finish getting rid of this by moving it all to Vector.asm and Array.asm.
Adds a dword to a specified index of a VECTOR
Adds a dword to the beginning of a VECTOR
Adds a dword to the end of a VECTOR
Adds a dword to a specified index of an unordered VECTOR
Clears a VECTOR, setting its capacity back to the minimum
Copies a VECTOR
Checks the equality of two VECTORs
Gets a dword from a VECTOR
Gets the first dword from a VECTOR
Gets the last dword from a VECTOR
Returns the index of a dword in a VECTOR, or -1 if it’s not in the VECTOR
Returns the last index of a dword in a VECTOR, or -1 if it’s not in the VECTOR
Allocates a new VECTOR of dwords
Removes a dword from a specified index of a VECTOR
Removes a dword from the beginning of a VECTOR
Removes a dword from the end of a VECTOR
Sets a dword in a VECTOR
Adds a dword to a specified index of a fixed-capacity VECTOR
Adds a dword to the beginning of a VECTOR
Adds a dword to the end of a VECTOR
Adds a dword to a specified index of a fixed-capacity unordered VECTOR
Removes a dword from a specified index of a fixed-capacity VECTOR
Removes a dword from the beginning of a VECTOR
Removes a dword from the end of a VECTOR
Adds a qword to a specified index of a VECTOR
Adds a qword to the beginning of a VECTOR
Adds a qword to the end of a VECTOR
Adds a qword to a specified index of an unordered VECTOR
Clears a VECTOR, setting its capacity back to the minimum
Copies a VECTOR
Checks the equality of two VECTORs
Gets a qword from a VECTOR
Gets the first qword from a VECTOR
Gets the last qword from a VECTOR
Returns the index of a qword in a VECTOR, or -1 if it’s not in the VECTOR
Returns the last index of a qword in a VECTOR, or -1 if it’s not in the VECTOR
Allocates a new VECTOR of qwords
Removes a qword from a specified index of a VECTOR
Removes a qword from the beginning of a VECTOR
Removes a qword from the end of a VECTOR
Sets a qword in a VECTOR
Adds a qword to a specified index of a fixed-capacity VECTOR
Adds a qword to the beginning of a VECTOR
Adds a qword to the end of a VECTOR
Adds a qword to a specified index of a fixed-capacity unordered VECTOR
Removes a qword from a specified index of a fixed-capacity VECTOR
Removes a qword from the beginning of a VECTOR
Removes a qword from the end of a VECTOR
TODO: Finish getting rid of this by moving it all to Vector.asm and Array.asm.
Adds a byte to a specified index of a VECTOR
Adds a byte to the beginning of a VECTOR
Adds a byte to the end of a VECTOR
Adds a byte to a specified index of an unordered VECTOR
Clears a VECTOR, setting its capacity back to the minimum
Copies a VECTOR
Checks the equality of two VECTORs
Gets a byte from a VECTOR
Gets the first byte from a VECTOR
Gets the last byte from a VECTOR
Returns the index of a byte in a VECTOR, or -1 if it’s not in the VECTOR
Returns the last index of a byte in a VECTOR, or -1 if it’s not in the VECTOR
Allocates a new VECTOR of bytes
Removes a byte from a specified index of a VECTOR
Removes a byte from the beginning of a VECTOR
Removes a byte from the end of a VECTOR
Sets a byte in a VECTOR
Adds a byte to a specified index of a fixed-capacity VECTOR
Adds a byte to the beginning of a VECTOR
Adds a byte to the end of a VECTOR
Adds a byte to a specified index of a fixed-capacity unordered VECTOR
Removes a byte from a specified index of a fixed-capacity VECTOR
Removes a byte from the beginning of a VECTOR
Removes a byte from the end of a VECTOR
Finds a byte in a sorted VECTOR of bytes with a binary search
Sorts a VECTOR of bytes with bubble sort
Copies the content of a VECTOR
Finds a dqword in a sorted VECTOR of dqwords with a binary search
Finds a dword in a sorted VECTOR of dwords with a binary search
Sorts a VECTOR of dwords or pointers with bubble sort
Finds the maximum dword in a VECTOR
Finds the minimum dword in a VECTOR
Finds a qword in a sorted VECTOR of qwords with a binary search
Finds a 4-byte real in a sorted VECTOR of 4-byte reals with a binary search
Sorts a VECTOR of 4-byte reals with bubble sort
Finds an 8-byte real in a sorted VECTOR of 8-byte reals with a binary search
Finds a signed byte in a sorted VECTOR of signed bytes with a binary search
Sorts a VECTOR of signed bytes with bubble sort
Finds a signed dqword in a sorted VECTOR of signed dqwords with a binary search
Finds a signed dword in a sorted VECTOR of signed dwords with a binary search
Sorts a VECTOR of signed dwords with bubble sort
Finds the maximum signed dword in a VECTOR
Finds the minimum signed dword in a VECTOR
Finds a signed qword in a sorted VECTOR of signed qwords with a binary search
Finds a signed word in a sorted VECTOR of signed words with a binary search
Finds a word in a sorted VECTOR of words with a binary search
This procedure determines the starting sector number of the specified virtual cluster of any non-resident attribute.