Commit Graph

156 Commits

Author SHA1 Message Date
Matheus 49dbac8e55 acpi: fix use of unitialized mutex 2024-09-21 18:34:36 -03:00
Matheus c29532a2c4 block: properly wind back iovec iterator now 2024-09-21 17:07:52 -03:00
Matheus 67546178f5 iovec: iovec_iterator_total_offset 2024-09-21 17:07:29 -03:00
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 fb2fa68752 sockets: use new iovec interface 2024-09-21 10:53:49 -03:00
Matheus dce1edad26 iovec: initial implementation 2024-09-20 12:51:36 -03:00
Matheus 87ef9ba76b localsocket: fix use of unitialized variable 2024-09-19 17:23:43 -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 698b45d31d poll: fix issue with revents being 0 2024-09-17 22:29:20 -03:00
Matheus f47236f7eb vmm: redo tlb shootdowns 2024-09-16 21:37:10 -03:00
Matheus 9974746c6c cpu: _bsp() -> get_bsp() 2024-09-15 22:52:24 -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 c596244010 io: use isr->priv 2024-09-07 11:21:38 -03:00
Matheus c2e50547cc signal: do auth check 2024-09-05 16:24:18 -03:00
Matheus d9131dc162 pci: msi support, switch to use PCI_{READ,WRITE}* macros 2024-09-02 19:47:21 -03:00
Matheus 6193310f21 tty: misc changes 2024-09-01 23:38:34 -03:00
Matheus 5793dda4d9 acpi: /dev/acpi 2024-09-01 21:41:08 -03:00
Matheus 443295e279 kernel: misc changes 2024-09-01 20:38:13 -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
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 6911bd6da4 net: reserved bind port check 2024-08-30 23:19:26 -03:00
Matheus 5d74bfa5f7 socket: pass cred to bind and setopt 2024-08-30 22:59:57 -03:00
Matheus ca42167fe1 vfs: pass cred to ioctl 2024-08-30 22:53:57 -03:00
Matheus 066b89c40a sockets: MSG_WAITALL support 2024-08-29 22:48:35 -03:00
Matheus fc09d39895 jobctl: allow tty stealing 2024-08-28 20:26:43 -03:00
Matheus 42bda0bf92 vfs: redo locking 2024-08-26 21:47:23 -03:00
Matheus 84c47f07c9 auth: signals 2024-08-26 17:45:05 -03:00
Matheus 914e075397 localsock: check for file permissions 2024-08-25 11:29:55 -03:00
Matheus 4d3e2b7494 mouse: change mode to 0666 2024-08-25 11:29:23 -03:00
Matheus 806fa3a333 devfs: take cred struct in devfs_register 2024-08-24 21:51:55 -03:00
Matheus 5bc363d1ee tcp: remove assert 2024-08-22 00:14:55 -03:00
Matheus ca2ad66dc6 block: read page by page rather than block by block 2024-08-10 22:43:09 -03:00
Matheus e023a38dc3 vioblk: possible fix for a bug and remove unused slab cache 2024-07-30 20:29:39 -03:00
Matheus 803724141e vionet: make msix edge trigger 2024-07-27 23:56:59 -03:00
Matheus aad1e2df11 arp: use new event system 2024-06-27 21:15:38 -03:00
Matheus 1d2dc5e6e2 poll: 0 sized descs 2024-06-27 21:14:20 -03:00
Matheus a0ac16bec5 vioblk: fix an issue with index numbers 2024-06-19 20:45:13 -03:00
Matheus eea9cab357 ipv4: ids 2024-06-17 19:27:51 -03:00