|
7076ff2f6b
|
kernel: Fix negative movement in the PS/2 mouse driver
|
2023-08-03 12:18:30 +02:00 |
|
|
5aa042a5f2
|
kernel: Add constructors to SharedMemory
|
2023-08-03 10:31:58 +02:00 |
|
|
f150425222
|
kernel: Create a new shared memory object if the old one was lost
|
2023-08-03 10:31:29 +02:00 |
|
|
842b212685
|
kernel: Set a SharedMemory object's prot value
|
2023-08-03 10:30:43 +02:00 |
|
|
641b65da0f
|
kernel: Take devices into account in SharedMemory::free()
|
2023-08-03 09:33:10 +02:00 |
|
|
b5d146b492
|
kernel/mmap: Fix some parameters
|
2023-08-03 09:26:21 +02:00 |
|
|
b447c1a261
|
kernel: Set the shmem->inode field in query_shared_memory
|
2023-08-03 09:25:56 +02:00 |
|
|
f8e86b3b01
|
fix
|
2023-08-03 09:25:38 +02:00 |
|
|
d8f6af99b8
|
kernel: Let devices use shared memory
|
2023-08-03 09:25:23 +02:00 |
|
|
c5e24e478f
|
kernel+libc: Add truncate and ftruncate
continuous-integration/drone/push Build is passing
|
2023-08-03 08:47:37 +02:00 |
|
|
84c1ac4cee
|
kernel: Add msync
continuous-integration/drone/push Build is passing
|
2023-08-02 22:39:07 +02:00 |
|
|
2572695c8d
|
kernel: Support mapping shared memory using mmap()
|
2023-08-02 22:20:05 +02:00 |
|
|
9443551d71
|
kernel: Add shared memory
|
2023-08-02 22:20:05 +02:00 |
|
|
b4527786d4
|
kernel/MMU: Don't copy pages on clone and allow manipulating other page directories
|
2023-08-02 22:17:32 +02:00 |
|
|
4794d0dfef
|
kernel: Add a keyboard device for graphical session
|
2023-08-02 17:20:13 +02:00 |
|
|
9c1e275f34
|
kernel: Make /dev/mouse read-write only for root
|
2023-08-02 17:19:37 +02:00 |
|
|
df4227eab8
|
kernel: Make the poll() system call actually work
|
2023-08-02 17:18:38 +02:00 |
|
|
f8cb6e03df
|
kernel: Allow turning off the TTY by setting it to graphical mode
continuous-integration/drone/push Build is passing
|
2023-08-02 15:16:10 +02:00 |
|
|
207d901de8
|
kernel+libc: Add the poll() syscall
continuous-integration/drone/push Build is passing
|
2023-08-02 14:48:20 +02:00 |
|
|
df77fc8de8
|
libluna: Remove make_array() and destroy_array()
Placement new on arrays is a bit unreliable and could cause out-of-bounds data accesses.
|
2023-08-02 14:47:58 +02:00 |
|
|
e8f3dd4cf9
|
kernel: Add a PS/2 mouse driver
|
2023-08-02 11:55:45 +02:00 |
|
|
dc35c42371
|
kernel/VFS: Rework the metadata system so that there is a single metadata struct
continuous-integration/drone/push Build is passing
|
2023-08-01 17:20:28 +02:00 |
|
|
4c87d72b44
|
kernel/binfmt: Add documentation + support script interpreters being scripts themselves
continuous-integration/drone/push Build is passing
|
2023-07-31 20:41:18 +02:00 |
|
|
3638d3da46
|
kernel: Add binary format for shebang scripts
|
2023-07-30 18:46:19 +02:00 |
|
|
1c76675e40
|
kernel: Add a framework to add more executable formats, possibly from userspace
This lets us implement shebangs and possibly an interface similar to Linux's binfmt_misc.
|
2023-07-30 18:25:44 +02:00 |
|
|
187f0ff83e
|
kernel: Rename Inode::blocking() to Inode::will_block_if_read()
continuous-integration/drone/pr Build is passing
|
2023-07-30 11:41:53 +02:00 |
|
|
0c873923e8
|
kernel: Make OpenFileDescription shareable
continuous-integration/drone/pr Build is passing
|
2023-07-30 11:33:46 +02:00 |
|
|
bb3127c212
|
kernel: Implement listen(), connect() and accept()
|
2023-07-30 11:33:06 +02:00 |
|
|
7a7ae086f5
|
kernel: Use a did_close callback for UnixSockets
|
2023-07-30 11:33:06 +02:00 |
|
|
fb08594a18
|
kernel: Separate FileDescriptors and OpenFileDescription
Also, add a did_close() callback for OpenFileDescriptions losing all their references.
|
2023-07-30 11:33:06 +02:00 |
|
|
a12b018b03
|
kernel+libc: Add basic Unix sockets (creation and binding)
|
2023-07-30 11:33:06 +02:00 |
|
|
c4e30c3029
|
kernel: Add functionality to allow external inodes (such as sockets) to acquire an inode number from a file system
This is only implemented in tmpfs.
|
2023-07-30 11:33:06 +02:00 |
|
|
c1d08b904e
|
kernel+libluna: Add Buffer::dequeue_data()
|
2023-07-30 11:33:05 +02:00 |
|
|
200bb6c240
|
kernel+libc+libos: Add inode type for sockets
|
2023-07-30 11:33:05 +02:00 |
|
|
4ed7ec5e93
|
libluna: Store SharedPtr's ref count in the object itself
continuous-integration/drone/push Build is passing
|
2023-07-30 11:32:46 +02:00 |
|
|
28cc4b2306
|
kernel: Add default action for SIGWINCH
continuous-integration/drone/push Build is passing
|
2023-07-27 14:00:30 +02:00 |
|
|
11df5a2ec3
|
kernel: Use pid_t internally for process IDs
continuous-integration/drone/push Build is passing
This removes a bunch of casts between pid_t and u64, and makes more sense since pid_t is literally the data type for process IDs.
|
2023-07-26 21:32:00 +02:00 |
|
|
5aad7d3154
|
kernel/x86_64: Fail on invalid interrupts instead of calling FIXME_UNHANDLED_INTERRUPT
continuous-integration/drone/push Build is passing
A FIXME is something that should be changed later,
this is a check for something that should never happen.
|
2023-07-25 18:23:33 +02:00 |
|
|
28dd8194af
|
kernel: Include waited-for grandchildren in RUSAGE_CHILDREN's times
continuous-integration/drone/push Build is passing
|
2023-07-25 17:50:15 +02:00 |
|
|
b88da4811f
|
kernel: Remove debug message in readlink
continuous-integration/drone/push Build is passing
|
2023-07-25 17:30:56 +02:00 |
|
|
105ed79f8f
|
kernel: Reenable userspace stack tracing, but hidden behind a config flag
continuous-integration/drone/push Build is passing
Sometimes this is needed for userspace program debugging (such as ports),
but sometimes it can crash, so we leave it off by default.
|
2023-07-25 17:02:09 +02:00 |
|
|
ad3f3bf4db
|
kernel: Log the release name and build date in the boot log
|
2023-07-24 11:48:01 +02:00 |
|
|
358493a7bc
|
kernel: Add a system for release names in uname(), call alpha releases "Mercury"
continuous-integration/drone/push Build is passing
|
2023-07-22 12:21:01 +02:00 |
|
|
36a74fd8d6
|
kernel/x86_64: Provide an alternate kernel stack for exceptions
continuous-integration/drone/push Build is passing
This avoids stack-related triple faults, hopefully.
Closes #33.
|
2023-07-21 15:14:52 +02:00 |
|
|
310b325af8
|
kernel: Avoid some more -Wconversion errors in TextConsole
|
2023-07-21 15:14:05 +02:00 |
|
|
cd6bf745a7
|
tests+kernel+init: Run tests automatically in a headless way
continuous-integration/drone/push Build is failing
|
2023-07-21 14:09:37 +02:00 |
|
|
bcfee628cb
|
kernel: Remove outdated FIXME
continuous-integration/drone/push Build is passing
|
2023-07-15 13:19:47 +02:00 |
|
|
0d41e1f7b6
|
kernel/ext2: Change outdated FIXME
continuous-integration/drone/push Build is passing
|
2023-07-15 13:17:58 +02:00 |
|
|
f9003d7a58
|
kernel: Mask away unsafe bits in rflags when restoring state after a signal
continuous-integration/drone/push Build is passing
|
2023-07-15 11:54:48 +02:00 |
|
|
89786d8be2
|
kernel: Save/restore the SSE/FPU state when executing signal handlers
|
2023-07-15 11:53:50 +02:00 |
|