ccp: driver for the RNG part of CCP on AMD

the entropy source is read every second and pushed to the PRNG.
the PCI device is tested, not the ACPI.

Change-Id: I9bb6b21c7189b28a1d8a624d83b33ff6682152dc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5825
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Jérôme Duval
2022-11-28 13:33:01 +00:00
parent bce7dc883a
commit 652d5f6347
9 changed files with 601 additions and 2 deletions
+7
View File
@@ -620,6 +620,13 @@ struct pci_module_info {
#define PCI_wireless_cellular_ethernet 0x41
#define PCI_wireless_other 0x80
/* ---
values for the class_sub field for class_base = 0x10 (encryption decryption)
--- */
#define PCI_encryption_decryption_network_computing 0x00
#define PCI_encryption_decryption_entertainment 0x10
#define PCI_encryption_decryption_other 0x80
/* ---
values for the class_sub field for class_base = 0x11 (data acquisition)
--- */