Skip to content

Examples in documentation #60

Closed
Closed
@AntoineSebert

Description

@AntoineSebert

Hello

I am working with this crate to complete my honours project, but I encountered problems a couple of things.
I looked on the documentation on www.docs.rs, but I could not find any examples, and even worse I am new to Rust, so I'm a bit lost.
How can I add to the IDT an exception handler of the type HandlerFuncWithErrCode ?
Apparently the IDT structure only expects a HandlerFunc handler.
And how would you trigger a custom exception in the code (a kind of throw instruction) ?
Or maybe are you waiting for the stable release 1.0.0 to write the examples ?

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