Josh Abraham
aff0c339b4
Fix TODO: Use triple fault to guarantee reboot
...
Cause interrupt, since the IDT is dorked we can't find the INT 3
handler (double fault), and the double fault handler can't be
found (triple fault).
2018-05-21 17:14:58 -10:00
Jeremy Soller
94c6550580
Reduce messages from fevent warning
2018-05-20 16:25:11 -06:00
Jeremy Soller
7d0f9a7ce8
Require correct event id return
2018-05-20 13:18:51 -06:00
Jeremy Soller
43a163d8d6
Debug scheme will return correct event id
2018-05-20 12:56:37 -06:00
Jeremy Soller
4ec46ee786
Send new flags to scheme
2018-05-20 12:48:22 -06:00
Jeremy Soller
cb94d334ac
Fix issue with debug fevent
2018-05-20 12:33:54 -06:00
Jeremy Soller
99a3bff2da
WIP: New event system
2018-05-20 11:08:37 -06:00
Jeremy Soller
63351f4ca6
Fix documentation in pipe scheme
2018-05-20 07:18:13 -06:00
Jeremy Soller
e01d397dc1
Return ECHILD if child process does not exist before blocking on it
2018-05-14 20:34:47 -06:00
Jeremy Soller
d0b78cd8ff
Remove stop print
2018-05-14 20:03:48 -06:00
Jeremy Soller
be1e87922c
Set rust_oom no_mangle
2018-04-28 22:08:23 -06:00
Jeremy Soller
48007b8f1e
Update to new allocation API (WIP)
2018-04-28 22:07:43 -06:00
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