[LinuxBIOS] Reading PMBASE, SMI_EN or SMI_STS
Stefan Reinauer
stepan at coresystems.de
Tue May 22 15:15:53 CEST 2007
* Andon Tschauschev <atschauschev at yahoo.com> [070522 14:38]:
>
> >> Hello,
> >> pmbase_value = pci_read_long(LPCBridge, 0x40);
> >
> >This neads to read
> >
> >pmbase_value = pci_read_long(LPCBridge, 0x40) & 0xfffffffe ;
> >
> >I have not checked the data sheets but I would bet the lowest bit is
> >enable.
>
> From datasheet ICH3M, according to PMBASE:
> 31:16 -- reserved
> 15:7 -- Base address
> 6:1 -- reserved
> 0 -- Resource Indicator -- RO. tied to 1 to indicate I/O space
>
> Should it be
> pmbase_value = pci_read_long(LPCBridge, 0x40) & 0xff80;
yes.
> Is shifting necessary, too (see attached file)?
Does it say which bits of the base address the bits 15:7 correspond to?
I would assume no shift is required.
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot
mailing list