Lines Matching +full:random +full:- +full:access
2 * Functions for generating pseudo-random CPER DMAr error sections.
9 #include <libcper/generator/gen-utils.h>
10 #include <libcper/generator/sections/gen-section.h>
12 //Generates a single pseudo-random generic DMAr error section, saving the resulting address to the …
18 //Create random bytes. in generate_section_dmar_generic()
29 *(bytes + 5) = cper_rand() % 2; //Access type. in generate_section_dmar_generic()
38 //Generates a single pseudo-random VT-d DMAr error section, saving the resulting address to the giv…
44 //Create random bytes. in generate_section_dmar_vtd()
50 *(bytes + 36 + i) = 0; //Reserved bytes 36-47. in generate_section_dmar_vtd()
56 *reserved &= ~0x1FFF0000; //Bits 80-92 of fault record. in generate_section_dmar_vtd()
64 //Generates a single pseudo-random IOMMU DMAr error section, saving the resulting address to the gi…
70 //Create random bytes. in generate_section_dmar_iommu()
79 *reserved = 0; //Reserved bytes 24-31. in generate_section_dmar_iommu()
81 *(bytes + 48 + i) = 0; //Reserved bytes 48-63. in generate_section_dmar_iommu()