]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings
authorThomas Moestl <tmm@FreeBSD.org>
Sun, 18 Nov 2001 20:38:44 +0000 (20:38 +0000)
committerThomas Moestl <tmm@FreeBSD.org>
Sun, 18 Nov 2001 20:38:44 +0000 (20:38 +0000)
commit398e05ab1ccf6fe9c21426b0627e0570656dde93
treef5fd72ad640b097477c78af41a09eb2e4caedfac
parent656ad29399a3a53d43acae98e609cc9f9e2d3d95
1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindings
2. Add OF_getprop_alloc(), a helper function that will malloc() a sufficient
   amount of memory and then retrieve a property value into it.

Approved by: benno
Obtained from: NetBSD (1)
sys/dev/ofw/ofw_pci.h [new file with mode: 0644]
sys/dev/ofw/openfirm.c
sys/dev/ofw/openfirm.h