Commit Graph

340 Commits

Author SHA1 Message Date
Jeremy Soller b08fa10277 Implement tlb IPI 2018-09-25 20:57:59 -06:00
Jeremy Soller f5fcbc12b8 Move ipi for pit to after EOI 2018-09-25 18:05:10 -06:00
Jeremy Soller e867326df1 Attempt to schedule other processors more often by waking them up with a context switch when a process is created 2018-09-25 18:01:38 -06:00
Jeremy Soller 7a97867868 Make multi-core support the default
Make IPIs less architecture specific
2018-09-23 10:40:55 -06:00
jD91mZM2 1d817fa41d Push null after argv 2018-08-13 12:14:29 +02:00
Jeremy Soller 1718d28d39 Push null pointer to indicate end of environment 2018-08-12 08:30:12 -06:00
Jeremy Soller 23f4c76ebb Fixes for launching init 2018-08-11 11:51:58 -06:00
Jeremy Soller 30e68f917e Remove env scheme and env field on context, fix all warnings 2018-08-11 11:34:32 -06:00
Jeremy Soller fe90664e33 Copy variables to USER_ARG_OFFSET 2018-08-11 11:18:45 -06:00
Jeremy Soller c7b3765d6f Remove execve, replace with fexec 2018-08-11 11:14:32 -06:00
Jeremy Soller a198cb22f5 Merge remote-tracking branch 'origin/master' into relibc 2018-08-11 09:03:35 -06:00
17liamnaddell 2de83eb932 fix small documentation bug 2018-07-21 21:46:11 -04:00
17liamnaddell 2c2a96a935 futex and slight changes 2018-07-21 21:41:47 -04:00
17liamnaddell c06f403dd2 second round of documentation 2018-07-21 20:48:33 -04:00
17liamnaddell 9d1fb3013d First round of documentation changes 2018-07-18 22:48:08 -04:00
Jeremy Soller b86672b81e Support for relibc 2018-07-03 19:42:23 -06:00
Jeremy Soller c28c147add Update to new dependencies 2018-06-19 18:17:16 -06:00
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