Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PSATA_PCI_CFG configHeader(byte busNo, byte deviceNo, byte functionNo){
- DWORD64 qwFuncAddr = PCI_CONFIG_START;
- qwFuncAddr = qwFuncAddr | (busNo << 20);
- qwFuncAddr = qwFuncAddr | (deviceNo << 15);
- qwFuncAddr = qwFuncAddr | (functionNo << 12);
- return (PSATA_PCI_CFG)qwFuncAddr;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement