Skip to content

Experimental WS53 startup and exception support - #7

Draft
sanchuanhehe wants to merge 10 commits into
masterfrom
codex/ws53-exceptions
Draft

sanchuanhehe wants to merge 10 commits into
masterfrom
codex/ws53-exceptions

Conversation

@sanchuanhehe

Copy link
Copy Markdown
Collaborator

Changes

Add experimental WS53 RAM and FlashBoot runtime support, exception context, optional instruction-cache control, RAM functions, and IPC/security interrupt dispatch.

Validation and status

  • Existing local RAM and Flash reset evidence is recorded in the parent project; cold-start qualification remains open.
  • The generated WS53 PAC currently has no published remote. Standalone external dependency resolution is not yet qualified; this is a draft pending PAC publication and integration checks.

Use a WS53-owned typed frame without borrowing IRQ-owned mscratch. Restore integer, FPU and post-trap state on return and keep nested handlers below the active exception stack. Linker PROVIDE defaults permit Rust legacy and typed hooks in release LTO.

Validated with real QEMU illegal instructions, ECALL, nested faults and a timer IRQ, legacy/default hook profiles, fault mutants and existing NMI/cache/early-Flash regressions. WS63/BS2X assembly objects stay byte-identical; physical qualification remains pending.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant