Skip to content

Reimplement the procedure chain stacks hardware top #2

@numas13

Description

@numas13

@numas13 from old repo

In Embox, writing to controls registers is done before writing to procedure stack pointers registers. Currently qemu-e2k have no hardware tops for the stacks and the last write to the control registers is lost after writing to PCSP. It is unknown whether this is a bug due to the lack of ISA specification for the E2K architecture. It is assumed that reimplementation of stacks hardware tops is requred for the system emulation.

  • Add PCSHTP register.
  • Implement procedure chain stack hardware top.
  • Rework read/write to the control registers.
  • Rework procedure calls.
  • Rework stack manupulation syscalls.

The minimum required size is unknown for PCSHT, but one set of CRs will be enough to solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions