summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw/openfirm.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Implement OF_interpret.jake2003-06-071-0/+32
| | | | Obtained from: netbsd
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* 1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindingstmm2001-11-181-0/+28
| | | | | | | | 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-235/+237
| | | | | | | 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
* Garbage collect some debug code.benno2001-06-271-11/+0
|
* OpenFirmware kernel support, as used by the PowerPC and hopefully otherbenno2001-06-161-6/+41
| | | | | | | | | 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-6/+20
| | | | | | | | | | 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/+733
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