Commit Graph

316 Commits

Author SHA1 Message Date
4lDO2 553370e80e 0.5.0 2024-03-12 16:59:03 +01:00
4lDO2 0100632a4b Add KSMSG_CANCEL. 2024-03-12 16:48:52 +01:00
4lDO2 612dceed00 Remove obsolete tests for fexec and clone. 2024-03-12 16:47:10 +01:00
4lDO2 5948affdd5 Remove SYS_PHYSMAP. 2023-12-09 12:20:36 +01:00
4lDO2 245cdf9caa Remove physalloc* and physfree 2023-12-09 12:20:36 +01:00
4lDO2 adff625d3d Remove Dma module. 2023-12-09 12:20:36 +01:00
4lDO2 727bd870e0 Add GRANT_PHYS_CONTIGUOUS. 2023-12-09 12:20:36 +01:00
Anshul Gupta 9e23908eec Updates bitflags to 2.4
Attempts to preserve backwards compatibility by deriving additional
traits & adding a deprecated unsafe function `from_bits_unchecked`.

However, the replacement of `.bits` field to `.bits()` method is a
breaking change.
2023-11-15 17:04:26 -08:00
4lDO2 06d569933f Add SYS_SENDFD 2023-10-19 15:00:28 +00:00
Jeremy Soller f94a5a7dca 0.4.1: custom mmio read/write functions on x86 2023-09-08 11:14:11 -06:00
Jeremy Soller 1bef275ffc 0.4.0 2023-09-07 16:17:15 -06:00
4lDO2 745e9eb2bc Remove SYS_PIPE2. 2023-08-31 21:15:57 +02:00
Jeremy Soller a525620c81 Merge branch 'better_fmap' into 'master'
Demand paging

See merge request redox-os/syscall!77
2023-08-02 13:07:36 +00:00
4lDO2 f0976e1d60 Add MunmapFlags. 2023-07-21 11:08:59 +02:00
4lDO2 534267760f Add SYS_MREMAP. 2023-07-17 15:54:24 +02:00
4lDO2 ed28083b73 Add MMAP_PREP and MUNMAP to scheme traits. 2023-07-12 15:32:39 +02:00
4lDO2 ff149946c0 Add GrantDesc and GrantFlags. 2023-07-04 17:17:25 +02:00
4lDO2 d587771fc3 Add MAP_LAZY. 2023-07-01 15:13:26 +02:00
4lDO2 6024e1e1fa Remove scheme funmap methods. 2023-06-30 11:39:28 +02:00
4lDO2 eab01c8621 Add mmap kernel-scheme messages. 2023-06-29 12:27:10 +02:00
Jeremy Soller 3b298a50a1 Merge branch 'usercopy' into 'master'
Remove physunmap and impl Deref for SigAction

See merge request redox-os/syscall!74
2023-06-11 14:16:22 +00:00
4lDO2 ab09be840c Remove SYS_PHYSUNMAP. 2023-06-10 17:43:04 +02:00
4lDO2 ba87bc9ee9 Impl Deref for Sigaction. 2023-06-08 14:45:25 +02:00
Jeremy Soller 4d37b9fc1f Merge branch 'file_forwarding_v2' into 'master'
File forwarding v2

See merge request redox-os/syscall!73
2023-06-07 13:42:30 +00:00
4lDO2 918bb7e396 Add scheme-kernel response codes. 2023-05-28 11:02:19 +02:00
4lDO2 7c64f6a086 Use xopen and xdup in Scheme::handle. 2023-05-27 18:44:43 +02:00
4lDO2 9d3bd91bf1 Add xopen and xdup. 2023-05-27 16:58:41 +02:00
4lDO2 911ec6cadf Add a scheme-kernel message 'error code'. 2023-05-27 16:32:05 +02:00
Jeremy Soller abf7e59f5a 0.3.5 2023-03-14 09:24:09 -06:00
Jeremy Soller b6e8785011 Merge branch 'dep_of_std' into 'master'
Allow `std` to depend on `syscall`

See merge request redox-os/syscall!72
2023-03-14 15:23:41 +00:00
joboet 9d4ad380de allow std to depend on syscall 2023-03-13 14:27:11 +01:00
Jeremy Soller 64d2213c79 0.3.4 - Allow x86 to use cache for DMA 2022-08-31 07:48:25 -06:00
Jeremy Soller ded9f93bae 0.3.3 - Use PHYSMAP_NO_CACHE for Dma 2022-08-30 10:32:16 -06:00
Jeremy Soller 7eb24a17ce 0.3.2 - Improve aarch64 registers 2022-08-24 08:46:51 -06:00
Jeremy Soller a5d2639716 0.3.1 2022-08-15 15:02:56 -06:00
Jeremy Soller fe40b18d0a Merge branch 'userspace_cwd' into 'master'
Remove cwd related syscalls and SYS_CHMOD.

See merge request redox-os/syscall!71
2022-08-15 21:02:25 +00:00
4lDO2 b0c825ed32 Remove SYS_CHMOD from scheme handler too. 2022-08-15 13:40:15 +02:00
4lDO2 e7c9a81b15 Remove cwd related syscalls and SYS_CHMOD. 2022-08-12 13:04:13 +02:00
Jeremy Soller 90c9253678 Add IntRegisters and FloatRegisters for x86 32-bit 2022-07-29 18:39:24 -06:00
Jeremy Soller a8cc2b7e22 Add aarch64 EnvRegisters 2022-07-29 18:07:31 -06:00
Jeremy Soller fac87ee3c7 0.3.0 - userspace fexec 2022-07-27 09:33:16 -06:00
Jeremy Soller 105ca1d36e Merge branch 'userspace_fexec' into 'master'
Remove old exec/clone system calls in favor of userspace_fexec

See merge request redox-os/syscall!70
2022-07-27 15:31:29 +00:00
4lDO2 300b5e4a80 Add PAGE_SIZE for all archs, make it public. 2022-07-27 17:30:17 +02:00
4lDO2 d6af266119 Add "opcodes", for e.g. mmap on other addr spaces. 2022-07-27 10:48:48 +02:00
4lDO2 c7b84541dc Improve general flags for userspace_fexec.
First, auxiliary vectors are no longer left here in syscall, but remain
in relibc. The rationale behind removing them was that they are no
longer used by the kernel in any way, as exec is moved to userspace.

Second, a ptrace event for address space switches was added. This is to
allow tracers to reopen their mem file when that mem file points to
different memory (otherwise mem can be decoupled from address spaces and
simply use the one that the context uses at the time).
2022-07-27 10:48:48 +02:00
4lDO2 ab5c685978 Remove SYS_EXEC from existence 2022-07-27 10:48:48 +02:00
4lDO2 f407c6b70c Remove CloneFlags. 2022-07-27 10:48:48 +02:00
4lDO2 67cf0997dc Remove clone() and Daemon abstraction. 2022-07-27 10:48:48 +02:00
4lDO2 8e4529ae7c Make DMA code use whole pages in syscalls. 2022-07-27 10:48:48 +02:00
4lDO2 a16a1ef95c Add the CloneInfo struct to extend SYS_CLONE. 2022-07-27 10:48:48 +02:00