|
fa241a4849
|
kernel/ATA: Read the CDROM's first sector using ATAPI PIO!!
Sadly, for some reason, DMA is not working right now.
This is a problem, as PIO is inconvenient. But hey, it works for now!
|
2023-05-18 16:23:25 +02:00 |
|
|
295d94000e
|
kernel/x86_64: Implement writing to PCI fields
|
2023-05-18 16:23:25 +02:00 |
|
|
39305ace07
|
kernel/PCI: Add bit enum for the Command field
|
2023-05-18 16:23:25 +02:00 |
|
|
deaff4cd14
|
kernel: Actually register interrupt handlers properly
|
2023-05-18 16:23:25 +02:00 |
|
|
2e8d2d4703
|
kernel/ATA: Calculate block sizes for ATA devices as well
|
2023-05-18 16:23:24 +02:00 |
|
|
538e34002c
|
kernel/ATA: Send a READ CAPACITY packet to an ATA drive on initialization
|
2023-05-18 16:23:24 +02:00 |
|
|
2e4ab68f4c
|
kernel/ATA: Read the PCI Busmaster registers and start preparing for DMA
|
2023-05-18 16:23:24 +02:00 |
|
|
845f4ede9a
|
kernel/ATA: Read the Busmaster base port and verify it
|
2023-05-18 16:23:24 +02:00 |
|
|
d6efcba17d
|
kernel: Handle device BARs properly
|
2023-05-18 16:23:24 +02:00 |
|
|
734ae6b0bc
|
kernel/ATA: Read ATA strings properly instead of backwards
Now we can see the model string. What does it say...
"QEMU DVD-ROM". Let's go!
|
2023-05-18 16:23:23 +02:00 |
|
|
3818776f12
|
kernel/ATA: Implement enough to send an IDENTIFY command and read the model number :)
|
2023-05-18 16:23:23 +02:00 |
|
|
8aa4b22669
|
kernel/ATA: Handle drive IRQs in compatibility mode
|
2023-05-18 16:23:23 +02:00 |
|
|
8b915516bf
|
kernel/CPU: Allow passing arbitrary data to interrupt handlers
|
2023-05-18 16:23:23 +02:00 |
|
|
446a7e3d8f
|
kernel/ATA: Start reading/writing registers and detecting drives
|
2023-05-18 16:23:23 +02:00 |
|
|
ed89b34883
|
kernel: Warn if no ATA controller is found
|
2023-05-18 16:23:23 +02:00 |
|
|
027535bb8f
|
kernel: Add a KMutex class and use that for ATA::Controller locking
|
2023-05-18 16:23:22 +02:00 |
|
|
2f56f44c3f
|
kernel/x86_64: Add basic ATA controller and channel identification
|
2023-05-18 16:23:22 +02:00 |
|
|
9a0a80b2c5
|
kernel/PCI: Add more PCI field types
|
2023-05-18 16:23:22 +02:00 |
|
|
516ba1138d
|
kernel/x86_64: Add a way to register IRQ handlers from other kernel subsystems
|
2023-05-18 16:23:22 +02:00 |
|
|
d7c563aebd
|
kernel: Add reference counting for mounts
continuous-integration/drone/push Build is passing
This will make sure we cannot unmount a file system while there is another one mounted inside it.
|
2023-05-18 16:22:31 +02:00 |
|
|
3a73d49aa1
|
kernel: Remove a mount from the mountpoint list after unmounting it
|
2023-05-18 16:18:09 +02:00 |
|
|
8f6bd29da3
|
kernel: Make file system reference counting work for current directories
continuous-integration/drone/push Build is passing
Also, make pipes usable again.
|
2023-05-17 20:37:01 +02:00 |
|
|
1f4c4928cc
|
kernel+libc+apps: Add mount and umount syscalls, libc wrappers, and utilities
continuous-integration/drone/push Build is passing
|
2023-05-17 20:30:15 +02:00 |
|
|
29174ca228
|
kernel/VFS: Add a way to unmount file systems
|
2023-05-17 19:52:26 +02:00 |
|
|
e7d482e78a
|
kernel+init: Add a VFS mount system and auto-populate the devfs
|
2023-05-17 19:40:37 +02:00 |
|
|
64d0f30bd9
|
kernel: Disallow write-related flags when opening a directory, not only when the directory flag is set
continuous-integration/drone/push Build is passing
Also return EISDIR instead of EINVAL as that is what Dr. POSIX mandates.
|
2023-05-11 21:29:49 +02:00 |
|
|
411c6c40cd
|
kernel: Add the fchmodat() and fchownat() system calls
continuous-integration/drone/push Build is passing
|
2023-05-11 19:49:03 +02:00 |
|
|
efc6d03f23
|
kernel+libc: Add support for unnamed pipes
continuous-integration/drone/push Build is passing
|
2023-05-10 22:48:31 +02:00 |
|
|
1a2fce5316
|
kernel+libc: Add the O_TMPFILE open flag and the tmpfile() function
continuous-integration/drone/push Build is passing
|
2023-05-09 22:04:34 +02:00 |
|
|
4753e80583
|
kernel: Make DeviceRegistry store the created devices instead of creating them when requested
continuous-integration/drone/push Build is passing
|
2023-05-09 18:31:27 +02:00 |
|
|
916a73ca95
|
kernel: Rework the timer subsystem to count in microseconds
continuous-integration/drone/push Build is passing
|
2023-05-07 21:51:36 +02:00 |
|
|
9bab4c62a1
|
kernel: Compilation fixes
continuous-integration/drone/push Build is passing
|
2023-05-07 21:42:03 +02:00 |
|
|
72dadc6706
|
kernel: Define a constant to check for default memory access
continuous-integration/drone/push Build is failing
|
2023-05-07 21:38:38 +02:00 |
|
|
b25e212880
|
kernel: Make a generic function for checking memory flags
continuous-integration/drone/push Build is failing
|
2023-05-07 21:37:01 +02:00 |
|
|
77560bbc3e
|
kernel+tools: Allow loading files with different owners + add a more dynamic install script
continuous-integration/drone/push Build is passing
|
2023-05-06 12:11:35 +02:00 |
|
|
9184bbfef6
|
kernel: Disallow passing O_WRONLY and O_DIRECTORY at the same time
continuous-integration/drone/push Build is passing
|
2023-05-05 18:53:50 +02:00 |
|
|
d9d8f7cdc7
|
kernel: Remove unused headers from main.cpp
continuous-integration/drone/push Build is passing
|
2023-05-04 23:59:46 +02:00 |
|
|
293a992133
|
kernel: Add a kernel_wait_for_event() function to avoid weird calls to kernel_wait in kthreads
continuous-integration/drone/push Build is passing
|
2023-05-04 23:43:00 +02:00 |
|
|
4a7f68b989
|
kernel: Add a convenience wake_up() function
|
2023-05-04 23:35:54 +02:00 |
|
|
3a1c22bb93
|
kernel: Add keyboard combinations for debug information dumps
Ctrl+Alt+E: Dump threads
Ctrl+Alt+M: Dump memory usage
Ctrl+Alt+H: Dump heap state
|
2023-05-04 23:32:48 +02:00 |
|
|
3ed9e578c7
|
kernel/x86_64: Wake the IO thread up only when there is an IO event, instead of polling every 10 ms
|
2023-05-04 23:07:09 +02:00 |
|
|
96f3d29d37
|
kernel: Tell the reap thread to run when it's needed, instead of checking every 200 ms
|
2023-05-04 23:06:00 +02:00 |
|
|
42eb0a1d74
|
kernel: Freeze waitpid()'s calling thread until a child tells us it's done, instead of polling it every 10 ms
|
2023-05-04 23:03:31 +02:00 |
|
|
4616997f5b
|
kernel: Store a thread's parent directly instead of its parent's PID
|
2023-05-04 22:58:04 +02:00 |
|
|
44e4ca804a
|
kernel: Make sure argument vectors passed to execve() are not too big
|
2023-05-04 16:36:24 +02:00 |
|
|
abaf24d0da
|
kernel/CPU: Move some stuff to StringView
|
2023-05-03 17:35:46 +02:00 |
|
|
7058ec945a
|
libluna: Use a String for name and handle prefix correctly in TarStream
|
2023-05-02 10:51:53 +02:00 |
|
|
3e277b5d6f
|
libos: Introduce os::Directory
|
2023-04-28 21:16:43 +02:00 |
|
|
0c1d33f2ec
|
kernel: Move some files into subdirectories
continuous-integration/drone/push Build is passing
|
2023-04-28 15:55:06 +02:00 |
|
|
52ce4b28aa
|
Scheduler: Remove redundant check in for_each_child
continuous-integration/drone/push Build is passing
|
2023-04-28 15:22:16 +02:00 |
|