Jeremy Soller
ec1809e7c0
Add memory: to null namespace, temporarily
2020-08-02 17:05:17 -06:00
jD91mZM2
55c3377c5c
Use VirtualAddress wrapper in user.rs
2020-07-30 14:21:57 +02:00
jD91mZM2
34194e2b79
Implement partial funmap-ing for user schemes
2020-07-30 13:08:03 +02:00
jD91mZM2
0ffa9b0be6
Track region instead of address in user.rs
2020-07-30 11:42:49 +02:00
jD91mZM2
9eb2aebd43
Implement unmapping multiple whole maps
2020-07-28 11:34:50 +02:00
jD91mZM2
639e603c4f
WIP: Add funmap2
2020-07-25 22:29:21 +02:00
jD91mZM2
a811774c58
Add necessary functions for funmap2
2020-07-23 16:45:35 +02:00
jD91mZM2
ccc577b3a1
Abstract over finding nice addresses
2020-07-23 11:22:54 +02:00
jD91mZM2
57c167d2fa
Make grants be a BTreeSet
2020-07-22 15:09:28 +02:00
jD91mZM2
5dc65a920f
Add restrictions on fmap
2020-07-21 16:08:28 +02:00
jD91mZM2
ff5354b5b5
Fix mmap when using out-of-place address
2020-07-18 15:03:23 +02:00
jD91mZM2
2d63009ba4
Add debug entry for fmap2
2020-07-18 13:40:12 +02:00
jD91mZM2
ec2c42dc66
WIP: Work around fmap quirks
2020-07-13 12:48:29 +02:00
4lDO2
01041a5d8a
Implement (mostly) fmap2 for memory:
2020-07-08 20:49:16 +02:00
Jeremy Soller
77f3a17c14
Fix warnings in live:
2020-06-30 09:36:19 -06:00
Jeremy Soller
d82eb57e9c
Update live: to new seek function
2020-06-30 09:08:55 -06:00
Graham MacDonald
af63c9773c
Merge remote-tracking branch 'origin/master' into signed-seek
2020-06-27 14:20:51 +01:00
Graham MacDonald
aa1b11cc8a
move calc_seek_offset* to syscall
2020-06-19 23:53:30 +01:00
Graham MacDonald
01f95b644d
change seek sig to match posix - signed pos and result
2020-06-19 23:31:55 +01:00
jD91mZM2
e18a877995
Implement proc:<pid>/exe for getting exe name
2020-06-17 19:06:48 +02:00
jD91mZM2
edcc39929d
Fix unused import
...
I added that assert, because I managed to get an error I couldn't reproduce
2020-06-16 13:58:36 +02:00
jD91mZM2
9c891384ea
Fix ptrace returning ENODEV when process exists
2020-06-16 13:42:04 +02:00
jD91mZM2
cbb17327aa
ptrace: Block on read, not on write
2020-06-16 13:00:27 +02:00
jD91mZM2
12f632837a
Misc proc code cleanup
2020-06-16 10:08:49 +02:00
jD91mZM2
4effb97c04
fixup! Fix acid test-bench issues
2020-06-16 09:28:42 +02:00
jD91mZM2
727217ad42
Fix acid test-bench issues
2020-06-15 17:14:52 +02:00
jD91mZM2
3420339c04
proc scheme: Rewrite try_stop_context
2020-06-15 15:08:59 +02:00
4lDO2
e7d00d4735
Fix various kernel warnings.
2020-06-11 12:58:03 +02:00
4lDO2
3289b95a7a
Fix conditional compilation without acpi feature.
2020-05-22 10:21:22 +02:00
4lDO2
0585c2b4d9
Make the IDTs of APs visible to irq:.
2020-05-03 16:57:32 +02:00
4lDO2
f4246deabf
WIP: Use a different IDT for each processor.
2020-05-03 16:57:32 +02:00
4lDO2
1165445602
Add spurious IRQ handling, using a visible counter.
2020-05-03 16:56:50 +02:00
Jeremy Soller
2fa85ed303
Remove unused import
2020-04-19 21:47:58 -06:00
Jeremy Soller
fa58651b70
Add serio scheme, based on debug scheme, for supporting ps2 devices
2020-04-19 21:40:12 -06:00
Jeremy Soller
5fd8f0430b
Cleanup debug scheme
2020-04-19 21:39:53 -06:00
Jeremy Soller
051a275c94
Remove unused import
2020-04-19 08:46:50 -06:00
Jeremy Soller
fdf46d8043
Fix multi_core livelocks and add livelock debugging
2020-04-19 08:46:50 -06:00
4lDO2
3bc4b9a691
Allow the MADT to be read from userspace,
...
and fix a typo that prevented multiple tables from being listed
correctly.
2020-04-19 09:41:42 +02:00
4lDO2
45fe040625
rustfmt.
2020-04-19 09:39:57 +02:00
4lDO2
d1ece2c811
Add a basic acpi: scheme, currently only for MCFG.
2020-04-19 09:39:57 +02:00
4lDO2
0e2e515dbd
Replace Arc<Box<dyn Scheme>> with Arc<dyn Scheme>.
2020-04-11 12:29:35 +02:00
4lDO2
b716ec4bc1
Remove currently unused APIC timer code.
2020-03-28 13:37:03 +01:00
4lDO2
157a3e5c0d
Improve MSI.
2020-03-28 13:37:03 +01:00
4lDO2
772003138d
Add a backwards-compatible interface for more IRQs.
2020-03-28 13:37:03 +01:00
4lDO2
65e8abb449
Allow multiple processes to share IRQs.
...
I haven't been able to receive xhc interrupt anyway.
2020-03-28 13:37:03 +01:00
Jeremy Soller
b616fdb067
Keep track of ticks each context uses
2020-02-18 21:16:53 -07:00
Jeremy Soller
b892603501
Require mutable context to perform page table modifications
2020-02-10 17:58:44 -07:00
Joshua Abraham
6a48ae3d8b
Fix deadlock in sys: scheme
...
This patch fixes a deadlock in the sys: scheme that is triggered
when the iostat resource() is called in the same scope where the RwLock
protecting the scheme's handles is write-locked.
2020-01-25 17:39:51 -05:00
Jeremy Soller
57a6359333
Do not add newline to sys:exe
2019-12-22 18:23:36 -07:00
Jeremy Soller
63e2a835e0
Fix clippy.sh script and fix a number of clippy warnings
2019-10-06 11:04:06 -06:00