Skip to content

Add attribute macro for pageable functions #507

@wmmc88

Description

@wmmc88

Typically when you mark a function as pageable with #[link_section = "PAGE"], you also call the paged_code! macro in the function to assert that IRQL <= APC in debug builds. We should just provide an attribute macro for this convenience. It also helps automatically do this good practice for IRQL checking pageable functions. This probable belongs in the wdk crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions