Page MenuHomeFreeBSD

Implement stubs for ACPI PCI routines
ClosedPublic

Authored by wma_semihalf.com on Jul 9 2015, 5:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 6:38 AM
Unknown Object (File)
Fri, Apr 26, 6:23 AM
Unknown Object (File)
Feb 14 2024, 2:43 PM
Unknown Object (File)
Feb 5 2024, 11:02 AM
Unknown Object (File)
Dec 25 2023, 1:20 AM
Unknown Object (File)
Dec 23 2023, 9:24 AM
Unknown Object (File)
Dec 20 2023, 11:02 PM
Unknown Object (File)
Nov 30 2023, 10:00 PM
Subscribers

Details

Summary

ACPI driver requires special functions to be provided by machdep code.

Add temporary stubs to satisfy the compiler when both "pci" and "acpi"
are enabled.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wma_semihalf.com retitled this revision from to Implement stubs for ACPI PCI routines.
wma_semihalf.com updated this object.
wma_semihalf.com edited the test plan for this revision. (Show Details)
wma_semihalf.com added reviewers: andrew, emaste, zbb.
wma_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
sys/arm64/arm64/pci_cfgreg.c
1 ↗(On Diff #6800)

This file should be in sys/arm64/acpica, it's only needed by the acpi code.

sys/arm64/include/pci_cfgreg.h
1 ↗(On Diff #6800)

What is the license of this file?

3–4 ↗(On Diff #6800)

This should be:

#ifndef _MACHINE_PCI_CFGREG_H
#define<tab>_MACHINE_PCI_CFGREG_H
7 ↗(On Diff #6800)

We don't normally put the argument names here, it would notmally be something like:

uint32_t pci_cfgregread(int, int, int, int, int);
sys/conf/files.arm64
39 ↗(On Diff #6800)

As the file isn't needed with fdt you can check for both pci and acpi here.

sys/arm64/acpica/pci_cfgreg.c
50 ↗(On Diff #6810)

Add ARM64TODO in comment (or in the panic string itself) for ease of grep -r (and in the other spots)

No need to re-upload for just this change though

Any other issues except ARM64TOFO? If not, please accept this revision, I'd like to submit it soon.

andrew edited edge metadata.
This revision is now accepted and ready to land.Jul 12 2015, 4:24 PM
This revision was automatically updated to reflect the committed changes.