Matheus
|
e7467e5ce8
|
vmm: make sure there is a thread in the struct in the dealwithrequest call
|
2023-01-08 19:30:31 -03:00 |
|
Matheus
|
c08644d7fb
|
scheduler: make timer request start on sched_init rather than sched_runinit
|
2023-01-08 19:30:03 -03:00 |
|
Matheus
|
6a8abf28a8
|
ringbuffer: datacount function
|
2023-01-08 19:29:17 -03:00 |
|
Matheus
|
b405e35fe7
|
pmm: add macros related to the HHDM
|
2023-01-08 19:26:28 -03:00 |
|
Matheus
|
087005c99d
|
main: reorder sched initialization
|
2023-01-08 19:26:12 -03:00 |
|
Matheus
|
60fca9c5f2
|
ps2mouse: fix delta calculation
|
2023-01-07 16:44:23 -03:00 |
|
Matheus
|
b9d1263c5f
|
ps2mouse: send packets to generic interface
|
2023-01-05 23:29:19 -03:00 |
|
Matheus
|
b980ab94c2
|
generic mouse interface
|
2023-01-05 23:29:03 -03:00 |
|
Matheus
|
2b4e97735b
|
ps2 mouse: initial implementation
|
2023-01-05 22:58:23 -03:00 |
|
Matheus
|
fc097489a1
|
assert.h: inital implementation
|
2023-01-05 22:57:36 -03:00 |
|
Matheus
|
e3d9c849af
|
ps2: controller initialization
|
2023-01-05 19:38:58 -03:00 |
|
Matheus
|
78362d9a0a
|
time.h: difference in ms
|
2023-01-05 19:38:41 -03:00 |
|
Matheus
|
adbf3d0353
|
math.h: long absolute
|
2023-01-05 19:37:46 -03:00 |
|
Matheus
|
78b9724b38
|
poll syscall: add volatile keyword to fd count to prevent a loop from being optimized out
|
2023-01-02 23:42:25 -03:00 |
|
Matheus
|
5fb8398c1a
|
x86_64 isrs: set ss to correct value somewhere else in the code
|
2023-01-02 23:37:04 -03:00 |
|
Matheus
|
d711d1de62
|
context: set ss to proper user value
|
2023-01-02 23:36:36 -03:00 |
|
Matheus
|
41a1921e2d
|
remake the syscall logger
|
2023-01-02 16:19:03 -03:00 |
|
Matheus
|
a5c2f96ce1
|
stdio: sprintf
|
2023-01-02 16:18:52 -03:00 |
|
Matheus
|
cc59678fc4
|
keyboard: fix poll missing an argument
|
2023-01-01 12:20:19 -03:00 |
|
Matheus
|
a7aa6fbdfd
|
syscalls: syscall_threadexit
|
2023-01-01 10:49:15 -03:00 |
|
Matheus
|
d5c65a749f
|
scheduler: fix thread array stuff and fix stupid thing
|
2023-01-01 10:37:24 -03:00 |
|
Matheus
|
76435ad9a1
|
waitpid: remake the thread deallocation loop and fix a few stupid mistakes
|
2023-01-01 10:30:15 -03:00 |
|
Matheus
|
814ee1f69a
|
scheduler: dequeue takes a state argument and releases a threadexit lock
|
2022-12-31 19:52:19 -03:00 |
|
Matheus
|
bbcda47dcd
|
syscalls: new thread syscall
|
2022-12-31 18:17:20 -03:00 |
|
Matheus
|
2a5fdd86f5
|
scheduler: getnextpid() and fix tid not being assigned properly to new threads
|
2022-12-31 18:16:52 -03:00 |
|
Matheus
|
5d62629d6f
|
futex: fix issues that prevented it from working properly
|
2022-12-31 18:15:46 -03:00 |
|
Matheus
|
2f28713dae
|
scheduler: lock proc when adding a new thread
|
2022-12-31 12:56:32 -03:00 |
|
Matheus
|
5ea50fee28
|
sched: use THREAD_DEFAULT_KSTACK_SIZE rather than hardcoding 10*PAGE_SIZE
|
2022-12-31 01:12:13 -03:00 |
|
Matheus
|
6d073b850e
|
kernel: commandline support
|
2022-12-30 03:28:30 -03:00 |
|
Matheus
|
23f2ef05b9
|
kernel: env support
|
2022-12-30 03:28:06 -03:00 |
|
Matheus
|
bc7906bde4
|
hashtables: isset()
|
2022-12-30 03:26:57 -03:00 |
|
Matheus
|
7e975a3837
|
add a function that gets called after every system call and make all threads quit on program exit
|
2022-12-25 15:46:37 -03:00 |
|
Matheus
|
0cf4287719
|
syscalls: fix issue with poll
|
2022-12-24 13:21:40 -03:00 |
|
Matheus
|
f882b1ad10
|
syscalls: make more system calls use ustring functions
|
2022-12-23 21:37:14 -03:00 |
|
Matheus
|
1ead72d897
|
syscalls: make a bunch of system calls use the new user memory operations
|
2022-12-15 10:19:58 -03:00 |
|
Matheus
|
30dd3d6ca3
|
ustring: more functions
|
2022-12-15 09:22:32 -03:00 |
|
Matheus
|
caa87bff4e
|
u_strlen: fix it not looping
|
2022-12-15 08:00:54 -03:00 |
|
Matheus
|
ce474c670b
|
vmm: dealwithrequest returns an errno rather than a bool
|
2022-12-13 23:43:26 -03:00 |
|
Matheus
|
881acb984d
|
x86_64 interrupts: gpf isr and add support for the user safe memops
|
2022-12-13 23:42:50 -03:00 |
|
Matheus
|
c17a2f4c6c
|
kernel: user safe strlen
|
2022-12-13 23:41:40 -03:00 |
|
Matheus
|
9fc62579ea
|
pci: msi stuff
|
2022-11-24 19:16:37 -03:00 |
|
Matheus
|
8e481f5d91
|
pci: legacy_write and pci_setcommand
|
2022-11-24 18:43:02 -03:00 |
|
Matheus
|
a0b0217856
|
nvme: controller initialization
|
2022-11-24 18:28:00 -03:00 |
|
Matheus
|
b64edd7765
|
math.h: intpow
|
2022-11-24 18:27:37 -03:00 |
|
Matheus
|
05439a4e3b
|
nvme: detection
|
2022-11-22 13:38:02 -03:00 |
|
Matheus
|
a7b5a775fa
|
pci: helper functions and a fix in get_devicecs()
|
2022-11-22 13:37:42 -03:00 |
|
Matheus
|
715ecb7140
|
Makefiles: fix several bad OBJPATHs
|
2022-11-21 20:20:43 -03:00 |
|
Matheus
|
8d8b319319
|
sched: handle thread death in a less hacky way
|
2022-11-21 20:12:47 -03:00 |
|
Matheus
|
e550d94c91
|
vmm: fix request edge case in multithreaded applications
|
2022-11-21 20:02:01 -03:00 |
|
Matheus
|
33f5a3d674
|
pci: fix allocating enumerations and add a way to get enumerations
|
2022-11-21 19:59:02 -03:00 |
|