Jeremy Soller
|
f7e8026494
|
Set aarch64 thread pointers
|
2022-08-24 19:21:36 -06:00 |
|
Jeremy Soller
|
545a561a26
|
Set ptrace regs for aarch64
|
2022-08-24 19:03:30 -06:00 |
|
Jeremy Soller
|
fb34e4eddf
|
Partially implement stack trace on aarch64
|
2022-08-24 12:34:31 -06:00 |
|
Jeremy Soller
|
310a0dda08
|
Some aarch64 register struct updates
|
2022-08-24 08:56:57 -06:00 |
|
Jeremy Soller
|
54d9d011aa
|
Use framebuffer virtual address
|
2022-08-23 20:07:30 -06:00 |
|
Jeremy Soller
|
9dd069c8ca
|
Support proc partially with aarch64
|
2022-08-20 14:45:45 -06:00 |
|
Jeremy Soller
|
9b8abfc5d7
|
Copy exception handlers from early_init
|
2022-08-20 13:48:13 -06:00 |
|
Jeremy Soller
|
01df1c20da
|
Use TableKind everywhere
|
2022-08-20 13:06:52 -06:00 |
|
Jeremy Soller
|
849b854bd0
|
Implement usermode for aarch64
|
2022-08-20 09:34:12 -06:00 |
|
Jeremy Soller
|
9ca2484079
|
Get aarch64 kernel to boot to the point of needing context switch
|
2022-08-19 21:40:04 -06:00 |
|
Jeremy Soller
|
82ad6e2fa7
|
Remove devmap region from aarch64, use physmap instead
|
2022-08-19 21:01:10 -06:00 |
|
Jeremy Soller
|
97b4d31355
|
Match aarch64 PHYS_OFFSET with x86_64
|
2022-08-19 20:54:02 -06:00 |
|
Jeremy Soller
|
49fcafac45
|
Fix building on aarch64
|
2022-08-19 16:12:42 -06:00 |
|
Jeremy Soller
|
7a390c2a1d
|
Sync some paging code for aarch64 with x86_64
|
2022-08-01 08:25:33 -06:00 |
|
Jeremy Soller
|
e99cbcf5d2
|
Fixes for compiling aarch64
|
2022-07-29 18:06:53 -06:00 |
|
Jeremy Soller
|
52ad689d37
|
Notify debug: readers of new input after all input is processed
|
2022-02-14 08:49:34 -07:00 |
|
Jeremy Soller
|
d3cf4db47b
|
Prerequisites for risv64 support
|
2021-05-12 20:23:53 -06:00 |
|
Jeremy Soller
|
8130e4752b
|
Map TSS using RMM
|
2021-05-07 09:13:25 -06:00 |
|
Jeremy Soller
|
77f6887fbc
|
Debug use of memory map and env data
|
2021-05-07 08:54:36 -06:00 |
|
Jeremy Soller
|
38f7884e21
|
Improvements for aarch64 serial driver on real hardware
|
2021-05-06 21:25:15 -06:00 |
|
4lDO2
|
36b3a4a49e
|
Add KERNEL_PERCPU_PML4 on AArch64.
|
2021-05-06 21:22:48 +02:00 |
|
Jeremy Soller
|
2e38fab913
|
Do not hardcode aarch64 uart
|
2021-05-06 13:16:50 -06:00 |
|
Jeremy Soller
|
46a364471c
|
Re-init aarch64 serial port for interrupts
|
2021-05-05 20:46:51 -06:00 |
|
Jeremy Soller
|
b9a89f2160
|
More fixes for building aarch64
|
2021-05-03 22:07:40 -06:00 |
|
Jeremy Soller
|
8f50785781
|
Fixes for building aarch64
|
2021-05-03 21:57:45 -06:00 |
|
Jeremy Soller
|
8d61c79b23
|
Use RMM TableKind and fix x86_64 compilation
|
2021-05-03 21:15:46 -06:00 |
|
Jeremy Soller
|
dfdb562e6b
|
Use RMM PhysicalAddress
|
2021-05-03 20:33:31 -06:00 |
|
Jeremy Soller
|
ad39568fe9
|
Fix unwrapping stack when there are kernel addresses (and there always are)
|
2021-05-02 19:53:31 -06:00 |
|
Jeremy Soller
|
73c77d756d
|
Print context name in exception
|
2021-04-28 21:15:21 -06:00 |
|
Jeremy Soller
|
37e6951501
|
Print CPU and PID when exception occurs
|
2021-04-28 20:59:52 -06:00 |
|
Robin Randhawa
|
00723c4ac2
|
aarch64: Make IRQs use the exception macros
|
2021-01-26 19:37:23 +00:00 |
|
Robin Randhawa
|
28dfc0f46b
|
aarch64: Basic exception handlers
|
2021-01-26 18:18:19 +00:00 |
|
Robin Randhawa
|
4a215c7c2c
|
aarch64: exception management and clone fixups
|
2021-01-26 18:17:09 +00:00 |
|
Robin Randhawa
|
3da345867a
|
aarch64: paging: Derive Debug, PartialEq for VirtualAddressType
This makes asserts on VirtualAddressType equality possible.
|
2021-01-21 11:38:46 +00:00 |
|
Robin Randhawa
|
452196b81f
|
aarch64: consts: Use the same USER_TLS_SIZE as x86_64
|
2021-01-21 11:37:32 +00:00 |
|
Robin Randhawa
|
c188a60871
|
aarch64: Fix clone_ret
FIXME: Explain the magic numbers here later.
|
2021-01-18 21:47:28 +00:00 |
|
Robin Randhawa
|
67d72532a9
|
aarch64: usermode: Remove tpidr_el0 manipulation
Was using the incorrect USER_TLS_OFFSET instead of USER_TCB_OFFSET. In
any case, this is better done in process::clone.
|
2021-01-17 10:06:04 +00:00 |
|
Robin Randhawa
|
3585f620b0
|
aarch64: clone: Fix incorrect stack offset in clone_ret
|
2021-01-17 10:03:50 +00:00 |
|
Robin Randhawa
|
208fb681f4
|
aarch64: vectors: Manage unhandled exceptions
So we can more clearly see when things go wrong.
|
2021-01-17 10:01:34 +00:00 |
|
Jeremy Soller
|
17fd135017
|
Merge branch 'pagetabletype-and-misc-fixes' into 'aarch64-rebase'
Pagetabletype and misc fixes
See merge request redox-os/kernel!158
|
2021-01-15 19:50:13 +00:00 |
|
Robin Randhawa
|
6677cfbf1e
|
aarch64: Make interrupt::pause use nop so we can move ahead before interrupts are enabled
|
2021-01-15 19:02:43 +00:00 |
|
Robin Randhawa
|
ae3a55f5d1
|
Introduce a PageTableType enum to help distinguish User and Kernel Tables
|
2021-01-15 09:12:30 -07:00 |
|
Robin Randhawa
|
76129ddf75
|
aarch64: Mirror PRESENT and VALID bits in Page and Table descriptors
|
2021-01-15 15:54:25 +00:00 |
|
Robin Randhawa
|
9c3f6e3660
|
Introduce a PageTableType enum to help distinguish User and Kernel Tables
|
2021-01-15 15:49:04 +00:00 |
|
Jeremy Soller
|
bdea7f553a
|
Remove PRESENT flag from aarch64 descriptors
|
2021-01-15 06:57:02 -07:00 |
|
Jeremy Soller
|
5f8b004476
|
Fix typo in InterruptStack parameter
|
2021-01-15 06:56:36 -07:00 |
|
Robin Randhawa
|
02c37d3fae
|
WIP: aarch64 rebase
|
2021-01-15 05:54:42 -07:00 |
|