Michael Shaw
098820c3f6
serial: fix double read in serial_read
2024-06-27 00:19:57 -04:00
Michael Shaw
8ac4b2e260
sched: copy serial date to userspace on trap
2024-06-26 23:55:19 -04:00
Michael Shaw
210663fe0f
syscall: adjust kernel blocking mechanism
...
Allow for a seamless escalation of privilege that maintains the same
thread of execution during a syscall, allowing syscalls to more easily
block and unblock
2024-06-26 23:48:39 -04:00
Michael Shaw
b753afd4fb
sched: properly implement blocking for read
...
This is a milestone update, as userspace applications are now able to
properly read from TTY devices, be blocked while waiting, and write the
output back. Userspace development will move much faster now that these
kinks have been worked out.
This version will be tagged as vbos v0.01
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-17 22:19:25 -04:00
Michael Shaw
52ba70f4b7
dev: remove console driver, merge into serial
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2024-06-17 20:32:44 -04:00
Michael Shaw
8abbc590a3
serial: mark serial_write inline
2024-02-22 03:15:33 -05:00
Michael Shaw
a10509f1e5
lib: move lib headers into lib directory
2024-01-30 22:00:20 -05:00
Michael Shaw
e27faa1a02
apic: enable IOAPIC and LAPIC, disable 8259
2023-10-27 00:54:51 -04:00
Michael Shaw
0395b65ad8
stdio: add vsnprintf and change printf to kprintf
2023-05-14 01:23:21 -04:00
Michael Shaw
f001be171c
console: add console_resize()
2023-03-15 03:32:47 -04:00
Michael Shaw
9a4ff385bd
pic: enable legacy pic serial interrupts
2023-03-14 04:25:06 -04:00
Michael Shaw
3b203fa698
serial.c: include serial.h
2023-03-13 18:15:14 -04:00
Michael Shaw
bb6de2047e
serial: move COM1 to serial.h
2023-03-13 18:10:19 -04:00
Michael Shaw
644508ee45
Added license identifiers to all files
2023-02-28 22:14:06 -05:00
Michael Shaw
92396db851
stdio: Added LOG_ specifiers to all prints
...
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-02-28 20:32:39 -05:00
Michael Shaw
ca5351b847
Added support for basic x86 features
...
Includes 'gdt', 'idt' and a serial driver
2023-02-27 18:36:15 -05:00
Michael Shaw
bae9ffa930
Initial commit
2023-02-27 14:14:37 -05:00