Skip to content

newhart must be zeroed #69

Closed
Closed
@testriscv

Description

@testriscv

hart_t *newhart must be zeroed

with
memset (newhart,0,sizeof(hart_t));
after
hart_t *newhart = malloc(sizeof(hart_t));

because sometimes the cpu starts with wrong settings causing exceptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions