Skip to contentSkip to conversation

AcpiOsReadPciConfiguration

Devel Rüdiger Ihle <r.ihle at s-t.de> 2 participants 3 messages Jul 16, 2010 ACPI component architecture (acpica)

lore
Share & tools
lore

Rüdiger Ihle <r.ihle at s-t.de>

#0 lore raw

Hi all,

what's the correct prototype for AcpiOsReadPciConfiguration ?

The acpica-reference.pdf says:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    UINT64                  *Value,
    UINT32                  Width);

while acpiosxf.h states:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    void                    *Value,
    UINT32                  Width);
Signature · 13 lines
Mit freundlichem Gruss / Kind regards

Dipl.-Ing. Rüdiger Ihle

 _____________________________________________________________
 S&T Systemtechnik GmbH           fon: +49 36 77 / 666 777
 Gabelsbergerstr. Nr. 9           fax: +49 36 77 / 666 799
 D-98693 Ilmenau                email: r.ihle(a)s-t.de
                                  web: http://www.s-t.de
 HRB: 302033
 Registergericht: Jena
 Geschäftsführer: Steffen Beyer
 _____________________________________________________________
#1 lore raw
Quoted 14 lines · Rüdiger Ihle

Hi all,

what's the correct prototype for AcpiOsReadPciConfiguration ?

The acpica-reference.pdf says:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    UINT64                  *Value,
    UINT32                  Width);
Quoted 8 lines

while acpiosxf.h states:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    void                    *Value,
    UINT32                  Width);

We may fix it with UINT64* or UINT32*.

#2 lore raw

It should be UINT64*. I am fixing acpiosxf.h for the next ACPICA release.

Thanks,
Bob

Quoted 32 lines

-----Original Message-----
From: Lin, Ming M
Sent: Thursday, July 15, 2010 11:37 PM
To: Rüdiger Ihle; Jung-uk Kim; Moore, Robert
Cc: devel(a)acpica.org
Subject: Re: [Devel] AcpiOsReadPciConfiguration

Quoted 14 lines · Rüdiger Ihle

Hi all,

what's the correct prototype for AcpiOsReadPciConfiguration ?

The acpica-reference.pdf says:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    UINT64                  *Value,
    UINT32                  Width);
Quoted 8 lines

while acpiosxf.h states:

AcpiOsReadPciConfiguration (

    ACPI_PCI_ID             *PciId,
    UINT32                  Reg,
    void                    *Value,
    UINT32                  Width);

We may fix it with UINT64* or UINT32*.