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
$#!
_start
A
a20.inc
a20_enable
a20_enable_keyboard_controller
a20_get_state
a20_query_support
Address Translation
Address type
ADDRESS_RANGE_MEMORY
ADDRESS_RANGE_RESERVED
AddressRange
Assembly
ata.inc
ATA_CMD_DIAGNOSTIC
ATA_CMD_IDENTIFY
ATA_CMD_RESTORE
ATA_COMMAND
ATA_CTRL
ATA_CYLHI
ATA_CYLLO
ATA_DATA
ATA_DRVADDR
ATA_DRVHEAD
ATA_ERROR
ATA_FEATURES
ata_init
ata_probe
ATA_SECCOUNT
ATA_SECNUM
ata_select
ATA_STATUS
ata_wait
ATTR_ARCHIVE
,
fat_entry
ATTR_DIRECTORY
,
fat_entry
ATTR_HIDDEN
,
fat_entry
ATTR_READ_ONLY
,
fat_entry
ATTR_SYSTEM
,
fat_entry
ATTR_VOLUME_ID
,
fat_entry
Attributes
,
fat_entry
B
BaseAddrHigh
,
AddressRange
BaseAddrLow
,
AddressRange
bio.inc
bio_brelse
bio_bwrite
bio_getblk
bio_init
bio_read
bios.inc
bios_log
bios_log_hex
bios_log_number
bios_print
BlkDev
boot_info_add_memmap
boot_info_print_mmap
bootia32.asm
BootInfo
bootinfo.inc
boot/
common/
bootinfo.inc
kernel/
sys/
bootinfo.inc
BOOTINFO_MEMORY_LIMIT
BootInfoRange
Buffer
Buffer flags
BUFFER_DIRTY
BUFFER_ERROR
BUFFER_INVAL
BUFFER_READ
BUFFER_WRITE
C
C
cga.inc
cga_getpos
cga_putc
cga_setpos
chacha.asm
CharDev
cmos.inc
Coding Style
COFF File Structure
coff.inc
COFFFileHdr
com.inc
com_probe
com_putc
Common Object File Format(COFF)
console.inc
Constants
Global
boot/
common/
bootinfo.inc
boot/
loader/
memory.inc
kernel/
bio.inc
kernel/
dev/
at/
ata.inc
kernel/
dev/
at/
floppy.inc
kernel/
fs/
xv6fs.inc
kernel/
vfs.inc
lib/
crypto/
dilithium/
ntt.asm
lib/
crypto/
sha2/
sha256.asm
fat_entry
Constants and Enumerations
cpu.inc
CR0
CR0_AM
CR0_CD
CR0_EM
CR0_ET
CR0_MP
CR0_NE
CR0_NW
CR0_PE
CR0_PG
CR0_TS
CR0_WP
CR3
CR3_PCD
CR3_PWT
CR4
CR4_CET
CR4_DE
CR4_MCE
CR4_OSFXSR
CR4_OSXMMEXCPT
CR4_OSXSSAVE
CR4_PAE
CR4_PCE
CR4_PCIDE
CR4_PGE
CR4_PKE
CR4_PKS
CR4_PSE
CR4_PVI
CR4_SMAP
CR4_SMEP
CR4_SMXE
CR4_TSD
CR4_UMIP
CR4_VME
CR4_VMXE
D
DEFN name
dev.inc
dev_init
DirEntry
disk.inc
disk_read_sectors
boot/
bootsect/
floppy.asm
boot/
bootsect/
hdd.asm
boot/
loader/
disk.inc
DOR bitflag
E
EFI_BOOT_SERVICES
EFI_LOADED_IMAGE_PROTOCOL
efi_log
efi_log_init
efi_log_time
EFI_RUNTIMES_SERVICES
EFI_SYSTEM_TABLE
efimain
Enumerations
Loader entry point.
copy/pasted from https://wiki.osdev.org/A20_Line ....
Since we don’t use segmentation, this is how address translation works
See AddressRange.Type
Available and usable RAM.
Reserved or in use.
The “Hungarian” notation conventions MUST be used.
Execute device diagnostic
Recalibrate
Device control register (Control base + 0)
Read/Write data
Drive/Head register
Archive
Subdirectory
Hidden
Read-only
System
Volume label
.BaseAddrHigh dd ?
High 32 Bits of Base Address
.BaseAddrLow dd ?
Low 32 Bits of Base Address
Buffer cache
Unbusy a buffer and release it to the free lists.
StupidOS boot protocol structure
XXX
XXX
mark buffer as invalid
XXX
XXX
For C related stuff please follow these coding guidelines: https://style.d0p1.eu
UART 8250, 16750 driver
Alignment mask
Cache disable
x87 FPU Emulation
Extension type
Monitor co-processor
Numeric error
Not-write through
Protected Mode Enable
Paging
Task switched
Write protect
Page-level Cache Disable
Page-level Write-Through
Control-flow Enforcement Technology
Debugging Extensions
Machine Check Exception
Operating system support for FXSAVE and FXRSTOR instructions
Operating System Support for Unmasked SIMD Floating-Point Excepions
XSAVE and Processor Extended States Enable
Physical Address Extension
Performance-Monitoring Counter enable
PCID Enable
Page Global Enabled
Protection Key Enable
Enable Protection Keys for Supervisor-Mode Pages
Page Size Extension
Protected-mode Virtual Interrupts
Supervisor Mode Access Prevention Enable
Supervisor Mode Execution Protection Enable
Safer Mode Extensions Enable CR4_FSGSBASE -
Time Stamp Disable
User-Mode Instruction Prevention
Virtual 8086 Mode Extensions
Virtual Machine Extensions Enable
Read sectors from disk to buffer
Copyright © 2024 d0p1 · Updated 2024/09/11 ·
Generated by Natural Docs
StupidOS
32-bit Operating System written in x86 assembly.
Introduction
Source Code
Coding Style
FAQ
Common Object File Format (COFF)
StupidFS
BootLoader
Introduction
BootSector
floppy.asm
hdd.asm
Loader
a20.inc
disk.inc
fat.inc
loader.asm
logger.inc
memory.inc
stpdfs.inc
video.inc
Common
bios.inc
bootinfo.inc
fat12.inc
macro.inc
mbr.inc
EFI
bootia32.asm
fs.inc
logger.inc
memory.inc
uefi.inc
Kernel
Introduction
gdt.inc
heap.inc
idt.inc
isr.inc
kernel.asm
klog.inc
Devices
At
IBM PC/
AT
cga.inc
cmos.inc
com.inc
floppy.inc
kbd.inc
ne2k.inc
pit.inc
ata.inc
console.inc
dev.inc
File Systems
fat.inc
stpdfs.inc
xv6fs.inc
System Includes
bootinfo.inc
coff.inc
cpu.inc
mmu.inc
registers.inc
Memory Manager
mm.inc
pmm.inc
lock.inc
pic.inc
vfs.inc
bio.inc
shed.inc
Lib
LZP
lzp.asm
Crypto
rc4.asm
Dilithium
ntt.asm
SHA2
sha256.asm
xchacha.asm
chacha.asm
hchacha.asm
ctype
Propaganda
Webring
Index
Everything
Constants
Files
Functions
Structs
Types
Everything
Constants
Files
Functions
Structs
Types
Close