Matheus
|
f1ee575ed1
|
vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec
|
2024-09-21 16:56:43 -03:00 |
|
Matheus
|
e8c2f1fbf3
|
devfs: use iovec_iterator internally
|
2024-09-21 13:53:39 -03:00 |
|
Matheus
|
01c883917f
|
iovec: redo iovec_iterator_next_page
|
2024-09-21 12:57:07 -03:00 |
|
Matheus
|
15f2cd0cc5
|
iovec: iovec_iterator_memset and fix iovec_iterator_copy_*_buffer
|
2024-09-21 12:07:13 -03:00 |
|
Matheus
|
09836801a3
|
usercopy: usercopy_memset and possibly user helper macro
|
2024-09-21 12:05:44 -03:00 |
|
Matheus
|
fb2fa68752
|
sockets: use new iovec interface
|
2024-09-21 10:53:49 -03:00 |
|
Matheus
|
3868b667cb
|
open: fix use of possibly null variable
|
2024-09-20 18:58:29 -03:00 |
|
Matheus
|
dce1edad26
|
iovec: initial implementation
|
2024-09-20 12:51:36 -03:00 |
|
Matheus
|
9015014804
|
recvmsg: fix return of ctrl length and flags
|
2024-09-19 17:24:34 -03:00 |
|
Matheus
|
87ef9ba76b
|
localsocket: fix use of unitialized variable
|
2024-09-19 17:23:43 -03:00 |
|
Matheus
|
0a7bd14049
|
read/write: dont copy to a buffer
|
2024-09-18 22:44:18 -03:00 |
|
Matheus
|
570d51dcf1
|
udp: prepare for copyless read/write
|
2024-09-18 22:22:56 -03:00 |
|
Matheus
|
5dfd2c3d6f
|
block: directly do DMA into page cache
|
2024-09-18 21:43:11 -03:00 |
|
Matheus
|
c76b37693b
|
vmm: allow vmm_getphysical to return a page held
|
2024-09-18 21:27:36 -03:00 |
|
Matheus
|
611f13b562
|
kernel: do preparation work for copyless read/write
|
2024-09-18 21:17:37 -03:00 |
|
Matheus
|
1140244816
|
ringbuffer: add a RINGBUFFER_USER_COPY_FAILED macro
|
2024-09-18 19:30:59 -03:00 |
|
Matheus
|
7eb9955a96
|
vfs: vfs_read/vfs_write: accept user addresses
|
2024-09-18 19:18:15 -03:00 |
|
Matheus
|
947623b5f6
|
fs: fix some sync locking issues
|
2024-09-18 19:04:59 -03:00 |
|
Matheus
|
7460e8b707
|
ringbuffer: handle user addresses
|
2024-09-18 19:01:01 -03:00 |
|
Matheus
|
a63f8c37cc
|
ringbuffer: documentation and ringbuffer_remove
|
2024-09-18 18:50:25 -03:00 |
|
Matheus
|
d5a4f2a4ad
|
vmmcache: redo how vnode locking is expected
|
2024-09-18 18:03:07 -03:00 |
|
Matheus
|
216a2e8d01
|
syscallog: hold a lock to synchronize logging in smp
|
2024-09-17 23:23:50 -03:00 |
|
Matheus
|
a56bfd2134
|
scheduler: sched_reschedule_on_cpu
|
2024-09-17 23:23:11 -03:00 |
|
Matheus
|
698b45d31d
|
poll: fix issue with revents being 0
|
2024-09-17 22:29:20 -03:00 |
|
Matheus
|
749f945205
|
scheduler: slightly redo how the preemption dpc is enqueued and add a skeleton for a rescheduling ipi
|
2024-09-17 22:29:06 -03:00 |
|
Matheus
|
199ce85249
|
remove unescessary package
|
2024-09-17 16:59:08 -03:00 |
|
Matheus
|
5e8e54e553
|
semaphore: fix bug
|
2024-09-16 22:55:02 -03:00 |
|
Matheus
|
5ef9fb0cb3
|
vmm: fix logic errors
|
2024-09-16 22:18:13 -03:00 |
|
Matheus
|
3254cc8061
|
Makefile: remove .d files on clean-kernel
|
2024-09-16 21:56:33 -03:00 |
|
Matheus
|
0fd089e79b
|
print: add mutex for smp
|
2024-09-16 21:37:29 -03:00 |
|
Matheus
|
f47236f7eb
|
vmm: redo tlb shootdowns
|
2024-09-16 21:37:10 -03:00 |
|
Matheus
|
80abd907a8
|
smp: smp_cpus
|
2024-09-16 21:36:16 -03:00 |
|
Matheus
|
55c89ea1da
|
apic: misc changes
|
2024-09-16 21:35:56 -03:00 |
|
Matheus
|
8a6b010a31
|
x86_64 syscall: remove unescessary mov from entry
|
2024-09-16 17:34:32 -03:00 |
|
Matheus
|
0a49ca75b5
|
mmu: arch_mmu_invalidate() -> arch_mmu_invalidate_range()
|
2024-09-16 17:34:05 -03:00 |
|
Matheus
|
a30f8ce5d9
|
interrupt: change panic message and fix id issue
|
2024-09-16 17:11:39 -03:00 |
|
Matheus
|
9974746c6c
|
cpu: _bsp() -> get_bsp()
|
2024-09-15 22:52:24 -03:00 |
|
Matheus
|
34207e5ef1
|
ps2mouse: fix typo in last commit
|
2024-09-15 21:02:16 -03:00 |
|
Matheus
|
12b307554d
|
ps2mouse: change printf message
this commit was written and pushed from inside Astral
|
2024-09-15 20:49:09 -03:00 |
|
Matheus
|
16b6c86a5f
|
cpu: rename _cpu() to current_cpu()
|
2024-09-15 19:03:09 -03:00 |
|
Matheus
|
56d665d5a0
|
kernel: fix remaining _cpu() races
|
2024-09-15 18:39:59 -03:00 |
|
Matheus
|
32392573cc
|
cpu: change all _cpu()->vmmctx to current_vmm_context
|
2024-09-15 18:07:05 -03:00 |
|
Matheus
|
e058d62261
|
cpu: change _cpu()->thread calls to current_thread() to fix smp race
|
2024-09-15 17:47:26 -03:00 |
|
Matheus
|
d1c0f2a5fd
|
kernel-src/Makefile: add -MMD to CFLAGS and add header dependencies
|
2024-09-15 15:48:35 -03:00 |
|
Matheus
|
5382a8249b
|
x86_64 cpu: change how the current cpu pointer is found
|
2024-09-15 15:26:40 -03:00 |
|
Matheus
|
560e3c0aa1
|
devfs: checks and fixes
|
2024-09-14 17:37:23 -03:00 |
|
Matheus
|
f04b7901e8
|
tmpfs: set default root mode to 0755
|
2024-09-14 17:34:24 -03:00 |
|
Matheus
|
1ad1e9fb3c
|
apic: leave more time to calibrate
|
2024-09-13 20:03:53 -03:00 |
|
Matheus
|
31c7cf881c
|
signal: add signal_returnmask and other fixes
|
2024-09-12 22:08:57 -03:00 |
|
Matheus
|
cf3e58ffe1
|
elf: switch first and last page protection
|
2024-09-12 20:53:41 -03:00 |
|