Commit Graph

32 Commits

Author SHA1 Message Date
48290cb80c e2k: Update get/set state regs.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:20 +03:00
d84636d73a e2k: Restore basic tags support.
Disabled at compile time.
2022-06-10 11:48:20 +03:00
ba89b350dc e2k: signals: Save and restore more state.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:20 +03:00
8f4de9d485 e2k: Implement basic v5 support.
Add gdb xml files for e2k.
Tags are partially disabled for better performance.

Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
17be44b21b e2k: Use one large array for registers.
Previously was used two separate arrays for low and
high halves of a register. Now we can pass direct
pointer to a register into helpers instead of copying
the halves into a temporary buffer and pass pointer to
that buffer.

Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
5e66da5f7d e2k: Delete top CRs from cpu state.
Signed-off-by: Denis Drakhnya <numas13@gmail.com>
2022-06-10 11:48:19 +03:00
23a0139ee6 e2k: Remove control.c 2022-06-10 11:48:17 +03:00
0b7f461be7 e2k: Remove pshtp and window base. 2022-06-10 11:48:17 +03:00
06df1e9168 e2k: Impl e2k_longjmp2 syscall. 2022-06-10 11:48:16 +03:00
60faf17466 target: e2k: HACK: Unlock mem addr forces %MLOCK condition. 2022-06-10 11:48:16 +03:00
21b39b8206 target: e2k: Delete hack for saving USD registers on proc call/ret. 2022-06-10 11:48:15 +03:00
d402c52f4a target: e2k: %cr0 must hold pregs and ip of previous procedure. 2022-06-10 11:48:15 +03:00
381868f71a target: e2k: Return aligned pointer from getsp. 2022-06-10 11:48:15 +03:00
65ffbc6d30 target: e2k: Reading %ilcr for gdb. 2022-06-10 11:48:14 +03:00
0f874d1b0b target: e2k: Fix reading aadN from gdb. 2022-06-10 11:48:14 +03:00
31e084720a target: e2k: Add basic mova{b,h,w,d} impl. 2022-06-10 11:48:14 +03:00
bd6208c09f target: e2k: Fix ctpr size. 2022-06-10 11:48:14 +03:00
683d96b8fa target: e2k: Partial staa{d,w} implementation. 2022-06-10 11:48:13 +03:00
db10b6d8a4 target: e2k: Reorg reg file. 2022-06-10 11:48:13 +03:00
d2646eb82b target: e2k: Update TODO messages. 2022-06-10 11:48:13 +03:00
2ec66c49c5 target: e2k: Reorg cr1. 2022-06-10 11:48:13 +03:00
5601f6e45a target: e2k: Reorg wd. 2022-06-10 11:48:13 +03:00
dd3aa7283a target: e2k: Reorg br. 2022-06-10 11:48:13 +03:00
9105937fd9 target: e2k: Reord pcsp. 2022-06-10 11:48:13 +03:00
ab13f761a2 target: e2k: Reorg psp. 2022-06-10 11:48:13 +03:00
fe6df81676 target: e2k: gdb global registers tags ids. 2022-06-10 11:48:12 +03:00
d1df754c9d target: e2k: Add %upsr. 2022-06-10 11:48:12 +03:00
c3e5a53689 target: e2k: Read NR in gdb. 2022-06-10 11:48:12 +03:00
4da7027d90 target: e2k: Fix e2k_cpu_gdb_read_register. 2022-06-10 11:48:12 +03:00
c40cc30f26 target: e2k: Reorg + basic gdb debugging. 2022-06-10 11:48:12 +03:00
a97138856a target: e2k: gdb register ids. 2022-06-10 11:48:12 +03:00
9cf42881f6 target: e2k: initial gdb support 2022-06-10 11:48:12 +03:00