Skip to content

Commit

Permalink
Fix CPU ID for D2xxx/N2xxx in GRUB2 loader patch
Browse files Browse the repository at this point in the history
Report from @ChernyaevAN in [1] revealed it's 13829424153406670433 in decimal,
which means the endianness was wrong for the CPUs I didn't have available for
testing.

[1] #3305 (comment)
  • Loading branch information
sairon committed Aug 14, 2024
1 parent 2fb1663 commit a7be207
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ index bfbd95aee..f4fc6d25c 100644
+ * negatives) or partial CPU identification (which might lead to
+ * false positives instead).
+ */
+ return (processor_id == 0xbfebfbff61060300 // D2xxx/N2xxx
+ return (processor_id == 0xbfebfbff00030661 // D2xxx/N2xxx
+ || processor_id == 0xbfebfbff000106ca); // D525
+ }
+ else
Expand Down

0 comments on commit a7be207

Please sign in to comment.