Skip to content

printf in user & kernel #1

@shili2017

Description

@shili2017

In your testos, user & kernel share the same printf function. According to my understanding, when user app calls printf, for each char, user will trap into kernel and print one character (so I guess it is a correct but inefficient design?).
In comparison, in the original rCore design, user and kernel implement print functions separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions