[UDFS] Fix driver load failure on Windows XP / POSReady 2009#62
Open
Copilot wants to merge 5 commits into
Open
[UDFS] Fix driver load failure on Windows XP / POSReady 2009#62Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
Copilot stopped work on behalf of
Zero3K20 due to an error
February 21, 2026 04:53
Copilot
AI
changed the title
[WIP] Fix UDFS loading issue under Windows XP
[UDFS] Fix driver load failure on Windows Embedded POSReady 2009
Feb 21, 2026
Copilot
AI
changed the title
[UDFS] Fix driver load failure on Windows Embedded POSReady 2009
[UDFS] Fix driver load failure on Windows XP / POSReady 2009
Feb 21, 2026
9c87325 to
0534777
Compare
Simplify APC check to KeGetCurrentIrql() >= APC_LEVEL Co-Authored-By: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
0534777 to
286d75f
Compare
Owner
|
@copilot Please fix the conflicts. |
- misc.cpp: Replace KeAreAllApcsDisabled() (WS03SP1+) with KeGetCurrentIrql() >= APC_LEVEL - udfinit.cpp: Make FsRtlRegisterFileSystemFilterCallbacks failure non-fatal - udffs.h: Zero POOL_NX_ALLOCATION (Win8+ flag) in ReactOS compat block Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Author
Fixed in 678dcd4. Merged |
This was referenced Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UDFS fails to load on Windows XP because
KeAreAllApcsDisabled(introduced in WS03 SP1) is not exported by XP's ntoskrnl — the PE loader aborts beforeDriverEntryruns.Changes
misc.cpp: ReplaceKeAreAllApcsDisabled()withKeGetCurrentIrql() >= APC_LEVEL— the standard FS driver idiom, available on all NT versions.udfinit.cpp: MakeFsRtlRegisterFileSystemFilterCallbacksfailure non-fatal. Driver functions without the pre-acquire section synchronization callback.udffs.h: ZeroPOOL_NX_ALLOCATION(Win8+ flag,0x200) in the__REACTOS__compat block alongside existingNonPagedPoolNx/MdlMappingNoExecutedowngrades. OR-ing it into lookaside list pool types produces an invalid type on XP-era kernels.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.