Home | History | Annotate | Download | only in include
History log of /src/sys/arch/macppc/include/autoconf.h
RevisionDateAuthorComments
 1.22  27-Feb-2021  thorpej Un-do a bunch of misguided code sharing. It's not really shared if it's
full of platform-specific #ifdefs:
- ofwoea_batinit() is gone; just do what's needed early in macppc / ofppc
initppc() functions.
- Get a bunch of Mac-specific stuff out of ofwoea_initppc().
 1.21  12-Feb-2021  thorpej No need for a prototype of ofbcopy() here.
 1.20  07-Jul-2020  rin branches: 1.20.2;
It turned out that using some Open Firmware routines causes the system
freeze after calling OF_quiesce().

This is why setting color palette crash the system for some Power Mac G5
models, like PowerMac11,2.

Therefore, stop using color-palette and backlight callbacks for genfb(4)
in this case.

Also, postpone OF_quiesce() after rascons_init_rasops(), and initialize
color palette there if OF is going to be quiesced and color depth is 8.

Now, color palette for wscons is initialized correctly for PowerMac11,2.
 1.19  08-Jan-2019  mrg workaround a problem with the pegasos firmware interface:
attempting to use /dev/openfirm on this machine hangs hard.

this isn't a new problem, and i've been meaning to try to
figure it out for years, but it's become a problem since
the xf86-video-radeon driver gained code to look for the
macppc model using this interface.

this is why xorg-server 1.18 and 1.20 hang recently on the
pegasosII.


this change is fairly ugly but i couldn't think of a less
ugly method to avoid /dev/openfirm working just on this
one platform. introduce new __OPENFIRMIO_OPEN_CHECK_BROKEN
macro and associated __openfirmio_open_check_broken(), and
use them in the new openfirmopen() to fail opens.

include proplib.h in macppc and ofppc autoconf.h since they
use it.
 1.18  01-Jul-2011  dyoung branches: 1.18.52; 1.18.54;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.17  30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.16  18-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.15  26-Nov-2007  garbled branches: 1.15.50;
Apply a set of patches from Frank Wille to make the genfb attachment work
better on ofppc. In doing so, we also move a few functions around in
macppc and the generic ofw powerpc stuff to allow better sharing of code.
Also, introduce a model_init function.

move ofb_cons.c from macppc/dev to powerpc/oea and rename it to rascons.
This gets rid of some naming confusion, and makes it OFW-MI rather than
macppc specific.
 1.14  07-Nov-2007  garbled Convert macppc to shared ofw_autoconf.c. Compile tested only.
 1.13  17-Oct-2007  garbled branches: 1.13.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.12  14-Jul-2007  ad branches: 1.12.8; 1.12.10; 1.12.12; 1.12.14;
Generic soft interrupts are mandatory.
 1.11  04-Mar-2007  christos branches: 1.11.2; 1.11.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.10  20-Jan-2007  he branches: 1.10.2;
Unify the declaration of OF_interpret() between sparc{,64} and macppc
by adding the "nargs" argument to the macppc version, and fix the macppc
ports uses of OF_interpret() accordingly.

Also move the declaration of OF_interpt() from macppc's autoconf.h to
ofw/openfirm.h. This fixes the build of the macppc port.

Approved by macallan@.
 1.9  17-Jan-2007  macallan shuffle #includes, add a bus_space_tag
 1.8  11-Dec-2005  christos branches: 1.8.20; 1.8.24;
merge ktrace-lwp.
 1.7  05-Jun-2005  nathanw branches: 1.7.2;
constify some string arguments and return values.
 1.6  24-Mar-2004  matt Add latent generic soft interrupt support.
 1.5  05-Jul-2002  matt branches: 1.5.6;
Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
 1.4  08-Jun-2001  matt branches: 1.4.2; 1.4.8; 1.4.16;
Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings. For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them. ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>
 1.3  01-Sep-1998  tsubai branches: 1.3.24;
Add some prototypes.
 1.2  21-Aug-1998  tsubai vm_offset_t --> [pv]addr_t.
 1.1  15-May-1998  tsubai Initial import of macppc port.
 1.3.24.1  21-Jun-2001  nathanw Catch up to -current.
 1.4.16.1  16-Jul-2002  gehenna catch up with -current.
 1.4.8.2  01-Aug-2002  nathanw Catch up to -current.
 1.4.8.1  08-Jun-2001  nathanw file autoconf.h was added on branch nathanw_sa on 2002-08-01 02:42:25 +0000
 1.4.2.1  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.5.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1  03-Aug-2004  skrll Sync with HEAD
 1.7.2.5  07-Dec-2007  yamt sync with head
 1.7.2.4  15-Nov-2007  yamt sync with head.
 1.7.2.3  27-Oct-2007  yamt sync with head.
 1.7.2.2  03-Sep-2007  yamt sync with head.
 1.7.2.1  26-Feb-2007  yamt sync with head.
 1.8.24.1  08-Mar-2007  bouyer Pull up following revision(s) (requested by macallan in ticket #495):
sys/arch/macppc/include/autoconf.h: revision 1.9
sys/arch/macppc/include/bus.h: revision 1.22
shuffle #includes, add a bus_space_tag
Fix build on netbsd-4.
 1.8.20.1  01-Feb-2007  ad Sync with head.
 1.10.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.11.10.5  03-Oct-2007  garbled Sync with HEAD
 1.11.10.4  02-Aug-2007  macallan sync with HEAD
 1.11.10.3  07-Jun-2007  garbled Convert macppc to powerpc bus_space. Lots of work here from Matt Thomas,
as well as the common ofwoea code from myself. Compile tested only,
still probably needs some fine tuning.

Also in this commit:
Convert macppc to new shared ofwoea routines.
Lots of KNF.
 1.11.10.2  09-May-2007  macallan nuke #if(n)def __HAVE_GENERIC_SOFT_INTERRUPTS - we have them and they're not going
to disappear
 1.11.10.1  04-May-2007  macallan move some interrupt-related stuff over to powerpc/intr.h
 1.11.2.3  03-Dec-2007  ad Sync with HEAD.
 1.11.2.2  23-Oct-2007  ad Sync with head.
 1.11.2.1  15-Jul-2007  ad Sync with head.
 1.12.14.2  13-Nov-2007  bouyer Sync with HEAD
 1.12.14.1  25-Oct-2007  bouyer Sync with HEAD.
 1.12.12.1  18-Oct-2007  yamt sync with head.
 1.12.10.3  09-Jan-2008  matt sync with HEAD
 1.12.10.2  08-Nov-2007  matt sync with -HEAD
 1.12.10.1  06-Nov-2007  matt sync with HEAD
 1.12.8.3  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.12.8.2  11-Nov-2007  joerg Sync with HEAD.
 1.12.8.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.13.2.2  08-Dec-2007  mjf Sync with HEAD.
 1.13.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.15.50.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.18.54.1  10-Jun-2019  christos Sync with HEAD
 1.18.52.1  18-Jan-2019  pgoyette Synch with HEAD
 1.20.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed