X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4fb81ad02399f6fe21e0b1b050aeb2f82f2b3fde..9cfcd0ca09a4eccaadaedca17cee1a7516b99980:/ich2/smi.c diff --git a/ich2/smi.c b/ich2/smi.c index 92607c4..43759dc 100644 --- a/ich2/smi.c +++ b/ich2/smi.c @@ -5,7 +5,7 @@ #include #include -uint16_t _get_PMBASE() +static uint16_t _get_PMBASE() { return pci_read32(ICH2_LPC_BUS, ICH2_LPC_DEV, ICH2_LPC_FN, ICH2_LPC_PCI_PMBASE) & ICH2_PMBASE_MASK; }