Skip to content

cxplat_kernel when running against usersim does the wrong thing in cxplat_get_current_processor_number #222

Description

The issue is that cxplat_get_current_processor_number calls KeGetCurrentProcessorIndex, which is an inline function that expands to:

return __readgsdword(0x1a4);

Which doesn't work when running in user mode.

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