Jeremy Soller
9ddda9bbfb
Ensure GDT and IDT state is sane before attempting to set up paging
2018-04-11 21:06:13 -06:00
Ian Douglas Scott
3b09c8f858
kill: support signal number 0
...
Tests process existence, but does not send a signal. Matches POSIX
behavior.
2018-03-18 21:52:48 -07:00
Jeremy Soller
6dfed91ac3
Fix index check for accessfield
2018-03-11 12:58:43 -06:00
Jeremy Soller
402266e3e4
Check length on more objects
2018-03-11 12:56:48 -06:00
Jeremy Soller
74e673e68d
Return errors if data is too small when parsing acpi objects
2018-03-11 12:52:30 -06:00
Jeremy Soller
734622fb9a
Fix mapping code for physbaseptr
2018-03-11 12:16:51 -06:00
Jeremy Soller
9c7c010cc0
Fix graphical debug sync error, add unmapping, map with write combine
2018-03-11 12:12:54 -06:00
Jeremy Soller
819f77daf3
Add support for graphical debug, to be used during ACPI phase
2018-03-11 11:36:58 -06:00
Jeremy Soller
133c433f60
Fix warning in context::switch
2018-03-11 11:35:41 -06:00
Jeremy Soller
c020ce7d8a
Fix delivery of signals when a signal uses the default handler, make context status update on every switch
2018-02-24 17:47:46 -07:00
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