Commit Graph

897 Commits

Author SHA1 Message Date
techflashYT a0a902e968 scripts,Makefile: add creation of bootable disk images
Add support for creating bootable media for use with USB or HDD boot.
Also add support for running the generated media in QEMU.
2024-09-06 22:17:44 -07:00
Matheus d418579a94 Merge pull request #9 from techflashYT/limine-v8
limine: bump to v8, update config
2024-09-06 18:42:08 -03:00
techflashYT b6cb07817b limine: bump to v8, update config 2024-09-06 13:10:51 -07:00
Matheus d65c29197d ps2: improvements 2024-09-05 23:13:29 -03:00
Matheus 9df8018ece README: update to include multiple user support 2024-09-05 19:15:48 -03:00
Matheus 515a4689a6 distro-files: better startwm handling 2024-09-05 19:15:28 -03:00
Matheus 6ef3609789 main: kill other processes 2024-09-05 18:25:08 -03:00
Matheus 24be70ac29 signals: fix sigset 2024-09-05 18:23:13 -03:00
Matheus d65bec9c66 {set,get}itimer: fix logging and getitimer 2024-09-05 18:21:27 -03:00
Matheus 2e302a4d38 signal: way to signal all processes 2024-09-05 16:36:52 -03:00
Matheus c2e50547cc signal: do auth check 2024-09-05 16:24:18 -03:00
Matheus ee254a81e9 vfs: vfs_iscacheable 2024-09-04 21:33:59 -03:00
Matheus be27fb6f3b ports: oss 2024-09-04 20:36:49 -03:00
Matheus 17e30cf590 sdl2: build with oss suport 2024-09-04 18:44:07 -03:00
Matheus 062b7a4ef1 ext2: sparse file rw support 2024-09-04 18:43:42 -03:00
Matheus 79df7da6d8 add scripts for build 2024-09-03 23:22:12 -03:00
Matheus 362a8852a8 Makefile: rework 2024-09-03 23:19:36 -03:00
Matheus e75aab367d mmap: check if mapping a character device is actually possible 2024-09-03 18:41:56 -03:00
Matheus af92e8eb87 pipefs: remove unescessary TODO 2024-09-03 17:12:31 -03:00
Matheus d9131dc162 pci: msi support, switch to use PCI_{READ,WRITE}* macros 2024-09-02 19:47:21 -03:00
Matheus 22d44cbb58 init: unblock signals before execing into child 2024-09-02 19:43:54 -03:00
Matheus b779942552 Makefile: fix 2024-09-02 18:13:05 -03:00
Matheus 055c92d900 Makefile: only build DISTROTYPE packages 2024-09-02 17:51:08 -03:00
Matheus d81c2fdc9d waitpid: _WALL 2024-09-01 23:47:42 -03:00
Matheus c36d2bee38 shadow: fix login setting weird VERASE in termios 2024-09-01 23:38:53 -03:00
Matheus 6193310f21 tty: misc changes 2024-09-01 23:38:34 -03:00
Matheus 7a9f5c48c7 init: reboot, acpid 2024-09-01 23:14:12 -03:00
Matheus a876a61d08 init: poweroff program 2024-09-01 22:53:37 -03:00
Matheus d42572b041 fs: fix fifo 2024-09-01 22:52:31 -03:00
Matheus 5793dda4d9 acpi: /dev/acpi 2024-09-01 21:41:08 -03:00
Matheus 65edcf0417 spinlock: helpers for ipl 2024-09-01 21:40:40 -03:00
Matheus 443295e279 kernel: misc changes 2024-09-01 20:38:13 -03:00
Matheus c9347d14ed Makefile: pull submodules on make 2024-09-01 19:35:21 -03:00
Matheus 75def3edfa Merge pull request #8 from d-tatianin/uacpi-integration
uACPI integration
2024-09-01 19:32:10 -03:00
Matheus 9be6ff345c pseudodevices: handle seek 2024-09-01 19:05:15 -03:00
8infy db55f99e23 Integrate uACPI & remove own ACPI parsing code
This commit adds uACPI as a submodule and removes all handwritten table
parsing code as well as struct definitions, since they now work via
uACPI. There's also now an ability to shut down by using the power
button.
2024-09-01 23:12:44 +03:00
8infy 476d4bad74 io: add outw & inw helpers 2024-09-01 23:12:44 +03:00
8infy 1042c1b1b0 time: introduce a new timespec_ns helper
This just returns the total number of elapsed nanoseconds given a
timespec struct.
2024-09-01 23:12:44 +03:00
8infy f306edb5ec semaphore: introduce a semaphore_reset helper
This simply clears the internal counter of a semaphore.
2024-09-01 23:12:44 +03:00
8infy 7136e96fdb spinlock: introduce helpers that clear & restore interrupts
These are just wrappers around acquire/release that clear and restore
interrupts respectively.
2024-09-01 23:12:44 +03:00
Matheus 0b54ccb96a mlibc: bump commit 2024-09-01 15:48:45 -03:00
8infy f93470be2a mutex: introduce a MUTEX_ACQUIRE_TIMED helper
This is just based on the previously added semaphore_timedwait.
2024-09-01 19:40:21 +03:00
8infy 7e3922c7ad semaphore: add a new semaphore_timedwait helper
This is the same as semaphore_wait except it allows for the acquire
attempt to time out after a given period of time.
2024-09-01 19:39:25 +03:00
8infy 0854d08020 interrupt: add a new 'priv' field
This field is needed for interrupt handlers that need context in order
to know what to do.
2024-09-01 19:37:22 +03:00
8infy 6154318ab3 kernel: add a helper to retrieve the bsp CPU
This is useful to be able to e.g. set affinity for the BSP CPU.
2024-09-01 19:37:09 +03:00
8infy 0ecbbff4d1 kernel: initialize pci earlier
There's no reason to initialize PCI so late, and this will be needed
by the following commits.
2024-09-01 19:34:21 +03:00
Matheus 4c7d4f084c localsocket: passing of files 2024-09-01 13:34:20 -03:00
Matheus 997fbc4e2e socket: handle control data, change recv and send arguments 2024-09-01 13:20:12 -03:00
Matheus fe1102224e ringbuffer: RINGBUFFER_FREESPACE 2024-09-01 13:13:00 -03:00
Matheus 29d459bdab file: fd_insert 2024-09-01 13:11:27 -03:00