Commit Graph

586 Commits

Author SHA1 Message Date
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
Jeremy Soller e08f56a2de Merge pull request #69 from NilSet/check_namespace
Check if current namespace exists
2017-12-24 07:28:35 -07:00
Tommie Levy 04e1034088 Check if current namespace exists 2017-12-24 02:36:11 -05:00
Jeremy Soller 7bfe1739fd Merge pull request #67 from Arcterus/master
Move null and zero from kernel space to user space
2017-12-18 16:25:11 -07:00
Alex Lyon 66a5379ff6 Move null and zero from kernel space to user space 2017-12-18 14:33:06 -08:00
Jeremy Soller a9fa08fd72 Merge pull request #66 from weclaw1/page_table_optimization
Page table optimization
2017-12-17 19:19:15 -07: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 cd54352f47 Merge branch 'master' of https://github.com/redox-os/kernel 2017-12-05 20:24:43 -07:00
Jeremy Soller dd7c61b830 Allow other processors to pick up work 2017-12-05 20:24:03 -07:00
Jeremy Soller 8ad13539dc Merge pull request #65 from dlrobertson/master
Add documentation on using gdb
2017-12-04 20:29:08 -07:00
Dan Robertson 2e6949e66d Add documentation on using gdb 2017-12-05 01:25:54 +00:00
Jeremy Soller 9b327ccba8 Update Cargo.lock 2017-12-03 08:53:47 -07:00
Jeremy Soller 45e8effa8a Merge pull request #64 from dlrobertson/master
Do not discard .debug section
2017-12-02 19:27:45 -07:00
Dan Robertson 025ec0def2 Do not discard .debug section
Do not discard the .debug section. If the builder would like to discard
this section, they can do so explicitly with objcopy.
2017-12-02 19:38:16 +00:00
Jeremy Soller 578c57840a 0.1.32 2017-11-28 21:48:28 -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
Jeremy Soller 9368b2ba4c Merge pull request #63 from pzmarzly/patch-1
elf.rs: do not inline constant from goblin library
2017-11-13 12:38:26 -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 2de7bd7f79 Merge pull request #61 from sajattack/patch-1
add a LOC badge
2017-11-05 06:29:35 -07:00
Paul b5dac25d55 add a LOC badge 2017-11-05 00:30:20 -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
Jeremy Soller ffad0f2ace Merge pull request #59 from xTibor/libcollections
Migrate from collections
2017-10-27 21:39:51 -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
Jeremy Soller 58c6ef0ecf Merge branch 'master' of https://github.com/redox-os/kernel 2017-10-21 20:30:26 -06:00
Jeremy Soller 51339cb8c9 Cleanup warnings
Implement interrupt on signal in pipe:
2017-10-21 20:30:20 -06:00