4lDO2
|
cbd02a8489
|
Set relocation-model=static
|
2023-08-12 00:57:45 +00:00 |
|
4lDO2
|
ca92eda5e6
|
Remove TLS on aarch64 too.
|
2023-08-08 12:01:42 +02:00 |
|
4lDO2
|
ed2febb289
|
Disable thread-local storage entirely.
|
2023-08-08 12:01:42 +02:00 |
|
4lDO2
|
a78d6e42f8
|
Stop using #[thread_local] on x86_*.
|
2023-08-08 12:01:42 +02:00 |
|
4lDO2
|
bdd5c954dc
|
Move PIT_TICKS to context::switch.
|
2023-08-08 12:01:42 +02:00 |
|
4lDO2
|
2070fa44b7
|
Fix warnings.
|
2023-08-02 13:07:49 +02:00 |
|
4lDO2
|
e28fef09e3
|
Improve aarch64 debugger.
|
2023-07-28 13:23:44 +02:00 |
|
4lDO2
|
d16569110e
|
Don't mess up x18 in aarch64 exc handler.
|
2023-07-28 12:56:55 +02:00 |
|
4lDO2
|
ce35deed4b
|
Support aarch64 page consistency checking.
|
2023-07-28 12:38:25 +02:00 |
|
4lDO2
|
ec9c24f841
|
WIP: aarch64
|
2023-07-27 19:05:33 +02:00 |
|
4lDO2
|
8b7fc8a468
|
Compile and mostly run properly on i686.
|
2023-07-27 16:45:36 +02:00 |
|
4lDO2
|
25d26b3b93
|
Arch-independent x86-modeled page fault handler.
|
2023-07-27 15:56:45 +02:00 |
|
4lDO2
|
7a3b453fbb
|
Declare __usercopy_{start,end} as functions.
|
2023-07-27 15:34:33 +02:00 |
|
4lDO2
|
4d2cd6ce0f
|
Remove redundant log msg.
|
2023-07-27 15:25:51 +02:00 |
|
4lDO2
|
954a8d00fe
|
Make page fault handler recursive.
This is probably a bad idea, but it works for now, and can only cause
problems, if grants that borrow grants that borrow grants etc., are
used.
|
2023-07-25 10:52:21 +02:00 |
|
4lDO2
|
da6f6a316c
|
Return only one grant, External, for Grant::borrow.
|
2023-07-25 10:52:21 +02:00 |
|
4lDO2
|
7aca53753e
|
Call init_mm from correct function.
|
2023-07-25 10:52:19 +02:00 |
|
4lDO2
|
760fc2ba5a
|
WIP: Global page info structs.
|
2023-07-25 10:52:19 +02:00 |
|
4lDO2
|
11fdb3bb46
|
Copy on writes to CoW pages.
|
2023-07-25 10:52:19 +02:00 |
|
4lDO2
|
8cfbc39b9f
|
Get further in userspace.
|
2023-07-25 10:52:18 +02:00 |
|
4lDO2
|
e7d94ddff5
|
WIP: Lazy zeroed mapping and page fault handler.
|
2023-07-25 10:52:18 +02:00 |
|
4lDO2
|
8dfa73db35
|
Post-refactor fixes.
|
2023-07-25 10:52:18 +02:00 |
|
4lDO2
|
34b4512dbd
|
Refactor Grants.
Page alignment is now verified at compile time, for example.
|
2023-07-25 10:52:13 +02:00 |
|
bjorn3
|
e73e42be66
|
Replace intrinsics::abort() call in switch_finish_hook with safer abort mechanism
abort will still run the illegal instruction interrupt handler which may
not be safe.
|
2023-07-10 17:03:36 +02:00 |
|
bjorn3
|
174e38a851
|
Remove all uses of concat_idents!()
|
2023-07-10 17:03:34 +02:00 |
|
bjorn3
|
0d01f7be57
|
Use core::ptr wrappers instead of the unstable volatile_* intrinsics
|
2023-07-10 17:02:01 +02:00 |
|
4lDO2
|
3ded84c945
|
Simplify x86_64 percpu and GSBASE calculation
|
2023-07-10 14:13:12 +00:00 |
|
Jeremy Soller
|
5c99d73bbe
|
Merge branch 'no_static_mut_thread_local' into 'master'
Avoid static mut thread locals
See merge request redox-os/kernel!228
|
2023-07-10 14:03:41 +00:00 |
|
4lDO2
|
56f88e80c2
|
Usercopy migration
|
2023-07-06 13:03:21 +00:00 |
|
bjorn3
|
56b16ce897
|
Avoid static mut thread locals
Instead use UnsafeCell inside the thread locals.
|
2023-07-05 14:50:17 +02:00 |
|
bjorn3
|
13733fb943
|
Move IDTR thread local to a stack variable
|
2023-07-04 12:17:52 +02:00 |
|
4lDO2
|
416269eeaf
|
Always clear DF when entering the kernel.
|
2023-06-18 14:47:00 +02:00 |
|
uuuvn
|
a5d4ccba57
|
More aarch64 stuff
|
2023-06-13 10:15:47 +00:00 |
|
Jeremy Soller
|
2849510892
|
Copy HPET divide by zero workaround to x86 arch
|
2023-06-12 09:19:34 -06:00 |
|
uuuvn
|
63290429b2
|
Improve aarch64 code + memory management and crush some bugs
|
2023-06-12 14:46:02 +00:00 |
|
4lDO2
|
58c0c5d040
|
Remove one level of indirection for Context::name.
|
2023-05-27 14:27:34 +02:00 |
|
4lDO2
|
a451c0aa1b
|
Fix aarch64 build.
|
2023-05-06 17:49:39 +02:00 |
|
Jeremy Soller
|
3a6732eaad
|
Merge branch 'updated_rustc_and_futex_fixes' into 'master'
Fixes for futex and newer rustc
See merge request redox-os/kernel!209
|
2023-05-02 22:11:53 +00:00 |
|
Andrew Mackenzie
|
d3a2fe7083
|
Qemu hpet bug
|
2023-05-02 16:19:01 +00:00 |
|
4lDO2
|
c604d6b051
|
Make IDT #[repr(C)].
|
2023-04-30 18:13:27 +02:00 |
|
Jeremy Soller
|
1e81c9d78b
|
Fix compilation without ACPI feature
|
2022-11-16 13:53:04 -07:00 |
|
Jeremy Soller
|
111606ccdc
|
Increase PIT divisor again to reduce wasted interrupt handling time
|
2022-11-15 11:50:23 -07:00 |
|
Jeremy Soller
|
33aa263deb
|
Fixes for hpet counter read, choose better PIT divisor
|
2022-11-14 13:58:55 -07:00 |
|
Jeremy Soller
|
2052cc8cdc
|
Allow arch to provide higher precision time
|
2022-11-14 11:12:44 -07:00 |
|
Jeremy Soller
|
31868077f0
|
Use u128 for time, store CPU time of processes
|
2022-11-14 10:10:17 -07:00 |
|
Jeremy Soller
|
8e0f54cb31
|
Clippy fixes
|
2022-11-11 13:19:14 -07:00 |
|
Jeremy Soller
|
3bef7d7bad
|
Simplify ps2 interrupts to reduce latency to reading bytes
|
2022-09-08 10:33:31 -06:00 |
|
Jeremy Soller
|
f5bdae2d0c
|
Reduce schreduler time slices to reduce latency
|
2022-09-07 18:21:30 -06:00 |
|
Jeremy Soller
|
6f6648c4d2
|
Disable HPET use on x86
|
2022-08-26 11:13:53 -06:00 |
|
Jeremy Soller
|
6dbb85d4c9
|
Static mapping of some CPU devices outside of physmap
|
2022-08-26 11:08:13 -06:00 |
|