summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw/openfirm.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement OF_interpret.jake2003-06-071-2/+2
| | | | Obtained from: netbsd
* Add an #ifdef _KERNEL to make it possible to include this file fromtmm2002-10-181-5/+7
| | | | userland (to get the typedefs).
* 1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindingstmm2001-11-181-0/+5
| | | | | | | | 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)
* Make the openfirmware functions work on 64 bit architectures by usingjake2001-07-311-2/+4
| | | | | | | a standard cell_t type for the fields of all argument structs. Also make ihandle_t and phandle_t unsigned to avoid sign extension problems. Approved by: benno
* Bracket this file in the usual #ifndef/#define/#endif stuff to preventbenno2001-06-271-0/+5
| | | | multiple inclusion.
* OpenFirmware kernel support, as used by the PowerPC and hopefully otherbenno2001-06-161-1/+10
| | | | | | | | | ports later on. This includes the basic MI interface routines as well as a console driver. The MD code is kept in the MD directories. Reviewed by: obrien
* OpenFirmware/PowerPC loader, part 2.benno2000-11-101-3/+3
| | | | | | | | | | As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts and talks to BOOTP/NFS servers. (main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision history) Reviewed by: obrien
* "Ok, my loader's now up to putting up a prompt. It probes disks partiallyobrien2000-10-161-0/+119
but can't boot from them yet." Thanks to Stephane Potvin for the some of the code in this set. Submitted by: Benno Rice <benno@jeamland.net>
OpenPOWER on IntegriCloud