#include #include /** * check_signature - find BIOS signatures * @io_addr: mmio address to check * @signature: signature block * @length: length of signature * * Perform a signature comparison with the mmio address io_addr. This * address should have been obtained by ioremap. * Returns 1 on a match. */ int check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length) { while (length--) { if (readb(io_addr) != *signature) return 0; io_addr++; signature++; } return 1; } EXPORT_SYMBOL(check_signature); > cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
net-next.git/diff/tools/perf?id=4759d386d55fef452d692bf101167914437e848e&id2=1db175428ee374489448361213e9c3b749d14900'>perf/pmu-events/arch/x86/westmereep-dp
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'tools/perf/pmu-events/arch/x86/westmereep-dp')