microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.76k stars 4.89k forks source link

Add ARM64 as target platform on multiple samples #1104

Closed NeoAdonis closed 4 months ago

NeoAdonis commented 5 months ago

Why is this change being made?

What changed?

We've made several significant changes to achieve better ARM64 compatibility across the repository:

How was the change tested?

We validated these updates by building all samples targeting ARM64.

Before:

Status Samples on ARM64 (Debug/Release)
Succeeded 19
Unsupported 109
Excluded 2

After:

Status Samples on ARM64 (Debug/Release)
Succeeded 126
Unsupported 3
Excluded 1

No changes for x64 samples (128 succeeded, 2 excluded for both Debug and Release)

JakobL-MSFT commented 5 months ago

@NeoAdonis.

This PR looks amazing.

Please continue to write down every action you needed to take as you port majority of our samples to support arm64 and observe how that helps.

JakobL-MSFT commented 4 months ago

Looks great. I'd still like to understand the statistics (see above).

NeoAdonis commented 4 months ago

@JakobL-MSFT I have added stats to the PR description. As for the next step, there are 4 samples that need fixes before adding support for arm64 to them. These cases will be handled on separate pull requests.

JakobL-MSFT commented 4 months ago

@JakobL-MSFT I have added stats to the PR description. As for the next step, there are 4 samples that need fixes before adding support for arm64 to them. These cases will be handled on separate pull requests.

Great. Thank you for providing all these details!!!

FYI: @GelataioMatto