Jeremy Soller
3af2964955
Add ACPI feature
2018-02-18 16:24:34 -07:00
Jeremy Soller
797d86b7a7
Remove debug message
2018-01-29 21:36:17 -07:00
Jeremy Soller
761fe30bf3
Add linked list allocator with automatic resizing
...
Fix memory leaks in exec
Remove warnings
2018-01-29 21:29:24 -07:00
Jeremy Soller
015b79430e
Updates for new nightly
2018-01-28 14:59:01 -07:00
Jeremy Soller
fdaf3c2fbc
Merge pull request #76 from weclaw1/master
...
Use slab allocator for kernel heap
2018-01-28 14:16:23 -07:00
Christian Øien
c2e972f21a
Operate on word size as possible
2018-01-24 22:15:30 -06:00
Jeremy Soller
f3205e6e34
Fix #81 by limiting arguments to 4095
...
Fix #79 by limiting mappable sections to the 2GB mark
2018-01-21 20:46:53 -07:00
Jeremy Soller
dcb49be481
Fix potential overflows in validate_slice and validate_slice_mut, require memory to be userspace
2018-01-21 19:21:43 -07:00
Jeremy Soller
89df5e5343
Remove debugging print
2018-01-19 20:26:41 -07:00
Robert Węcławski
3e06a37215
Use slab allocator for kernel heap
2018-01-17 23:31:27 +01:00
Jeremy Soller
1e533b3ad5
Use fninit in start
2018-01-10 19:26:33 -07:00
Jeremy Soller
5b389c7ffa
Update PTI patch to inline PTI functions
2018-01-10 17:25:31 -07:00
Jeremy Soller
d82ffd16cb
WIP: Add per-cpu interrupt stack used before mapping kernel heap
2018-01-09 22:16:14 -07:00
Jeremy Soller
192a8ce793
Add rbx to saved registers in syscall stack
2018-01-09 21:46:48 -07:00
Jeremy Soller
a6550341bb
Add trampolines for PTI support
2018-01-08 22:31:50 -07:00
Jeremy Soller
670d7b00d3
Add PML4 constants
2018-01-08 20:32:27 -07:00
wartman4404
4f90a0f5c1
Write hpet timer 0 twice to set accumulator and period
...
This allows booting with implementations that require them to be set separately.
Also, check for the availability of legacy-replacement mode and periodic interrupts before using hpet
2018-01-07 17:06:07 -06:00
Jeremy Soller
083c444a68
Implement waitpid on PGID
2018-01-05 20:31:15 -07:00
Jeremy Soller
9313909fe9
Fix stop signal by switching context after stopping
2018-01-04 09:03:41 -07:00
Jeremy Soller
49d5c33928
Add support for WCONTINUED and WUNTRACED
...
Fix issues with SIGCONT
2018-01-03 22:34:50 -07:00
Jeremy Soller
b6878760c7
Use seperate stopped status
2018-01-03 21:33:56 -07:00
Jeremy Soller
c912f42800
Fix TLS when forking, fix signal delivery to self
2018-01-03 21:33:24 -07:00
Jeremy Soller
7906f6891e
Add support for stop/cont signals
2018-01-02 22:05:29 -07:00
Jeremy Soller
22aca69ac9
Use TLS alignment to fix https://github.com/redox-os/redox/issues/1124
2017-12-29 14:58:04 -07:00
Jeremy Soller
caa607eb28
Merge pull request #70 from redox-os/clippy
...
Add clippy lints, action some clippy items
2017-12-27 21:32:23 -07:00
Jeremy Soller
059cc8078d
Add frename
2017-12-27 20:19:37 -07:00
Jeremy Soller
58e1d92eb5
Add clippy lints, action some clippy items
2017-12-24 22:19:00 -07:00
Tommie Levy
04e1034088
Check if current namespace exists
2017-12-24 02:36:11 -05:00
Alex Lyon
66a5379ff6
Move null and zero from kernel space to user space
2017-12-18 14:33:06 -08:00
Robert Węcławski
3c466892de
change assert to debug_assert
2017-12-17 20:29:35 +01:00
Robert Węcławski
a8ecfc86dd
Better comment and mask representation
2017-12-17 19:54:52 +01:00
Robert Węcławski
08a4c33b77
New entries are set to zero
2017-12-17 19:46:19 +01:00
Robert Węcławski
2d041bbb51
don't change counter in set_unused
2017-12-17 18:45:41 +01:00
Robert Węcławski
82bae0b314
entry::set doesn't reset counter, counter mask is a const
2017-12-17 18:22:27 +01:00
Robert Węcławski
ab687852d3
Convert entry count to u64, remove unnecessary parentheses
2017-12-17 17:19:06 +01:00
Robert Węcławski
a48ec82f20
Use unused bits 52-61 in first entry of each page table as counter for number of page table entries
2017-12-17 16:53:20 +01:00
Jeremy Soller
c2644adf3d
Improve multi_core support
2017-12-05 21:26:45 -07:00
Jeremy Soller
dd7c61b830
Allow other processors to pick up work
2017-12-05 20:24:03 -07:00
Jeremy Soller
789e290c9b
Add fchown, fchmod
2017-11-28 21:48:10 -07:00
Jeremy Soller
ed05564011
Remove SwitchResult, use out of band data to detect interruption
...
Update debugging code
2017-11-14 21:16:35 -07:00
Jeremy Soller
da954096e0
Merge pull request #62 from xTibor/fix-nightly
...
Fix for the latest nightly
2017-11-14 20:28:03 -07:00
Paweł Zmarzły
20f262c4ed
elf.rs: do not inline constant from goblin library
...
SELFMAG is declared [here](https://github.com/m4b/goblin/blob/de8aecc8f1e7f3de7d66a1511d3976cdf0335e0c/src/elf/header.rs#L91 ).
2017-11-13 20:24:50 +01:00
Tibor Nagy
eadade4c0f
Fix for the latest nightly
2017-11-10 21:42:28 +01:00
Jeremy Soller
9e9f80ef13
Add futex timeout
2017-11-06 22:04:42 -07:00
Jeremy Soller
1e553b744c
Fix errors from waitpid
2017-10-29 16:02:54 -06:00
Jeremy Soller
eebf12bec5
Fix returning too many errors from waitpid
2017-10-29 15:41:59 -06:00
Jeremy Soller
1f99d038c4
Make debug function never return error
2017-10-29 15:31:35 -06:00
Tibor Nagy
e6b9f850d1
Migrate from collections
2017-10-28 02:42:08 +02:00
Jeremy Soller
8ec5d4726b
Hack to allow rustc to wait on non-child process.
...
Add sys:syscall for seeing active system calls
2017-10-22 21:13:29 -06:00
Jeremy Soller
ef70cd257c
Uncomment AML value variant
2017-10-22 19:41:31 -06:00