summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2015-03-11Remove unused type definitions.Martin Pieuchot
ok miod@
2015-02-11no md code wants lockmgr locks, so no md code needs to include sys/lock.hDavid Gwynne
with and ok miod@
2015-02-11Save OpenFirmware mappings in save_ofw_mapping(), currently unusedMartin Pieuchot
but required for upcoming firmware callback improvement. ok miod@
2015-02-10Convert to uiomove().Miod Vallat
ok guenther@
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
- rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@
2015-02-10increase min address to page size for all remaining min == 0 systems.Ted Unangst
not necessary, but consistent with other platforms. ok deraadt
2015-02-10Correctly parse memory regions from the firmware on 64bit machines.Martin Pieuchot
With miod@
2015-02-09Add a quirk to find the AGP bridge on PowerMac7,2 and PowerMac7,3 whichMartin Pieuchot
is not present in the device-tree. ok kettenis@
2015-02-09tweak the new if_input function so it takes an mbuf_list insteadDavid Gwynne
of a single mbuf. this forces us to batch work between the hardware rx handlers and the stack. this includes a converstion of bge from ether_input to if_input. ok claudio@ pelikan@ mpi@
2015-02-08Convert to if_input().Martin Pieuchot
2015-02-07Need to define APM_USER_HIBERNATE_REQ here too.Miod Vallat
2015-02-06Give "machine ddbcpu" a chance to work, now we can try to see what's wrongMartin Pieuchot
on MP.
2015-02-06Call the debugger (bsd -d) before replacing the firmware console just likeMartin Pieuchot
we do for config (bsd -c) to be able to use ddb with USB keyboards.
2015-01-27ENOGREP.David Gwynne
i didnt find this TASK_INITIALIZER call when changing tasks. more beatings from deraadt@
2015-01-24Implement bus_dmamem_alloc_range(9) for macppc/socppc.Mark Kettenis
2015-01-20Move ps_strings "after" the random stackgap. This makes its location aMark Kettenis
per-process value, and therefpore turns the VM_PSSTRINGS sysctl into a per-process one as well. This gets rid of a pointer to the bottom of the stack at a fixed location. Also clears the road for unmapping the stackgap. ok deraadt@
2015-01-20Merge two copies of the (almost) identical bus space code into one file.Martin Pieuchot
This brings bus_space_mmap(9) to socppc and change its bus_space_map(9) implementation to use kernel_map instead of phys_map like macppc and everybody else.
2015-01-20Merge two copies of the same dma code into one file and sync the headers.Martin Pieuchot
ok kettenis@
2015-01-13for the install: target, use cmp as a rough attempt for avoiding repeatedTheo de Raadt
make install from Simon Nicolussi ok jsing tedu
2015-01-11switch prototype warnings to implicit-declaration warnings.Ted Unangst
This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
2015-01-04Implement splassert(9) for powerpc.Martin Pieuchot
This changes the logic to prevent a recursion when processing soft interrupts. Previously a per-CPU flag was set before re-enabling interrupts. Now the IPL level is raised to SOFTTTY which makes splsoftassert() happy, greatly inspired by mips64. As a side effect, the ppc_intr_{disable,enable}() dance is now done only once instead of twice per splx(9). While here, make use of dosoftint() instead of having 3 different functions for dispatching soft interrupts. Tested by deraadt@ on G4 smp and by myself G5 smp, G3, G4 and socppc. No objection from the usual (and over busy) suspects.
2015-01-03add new driver uslhcom(4) USB HID based UART.uaa
2015-01-01move to 5.7-betaTheo de Raadt
2014-12-22unifdef INETTed Unangst
2014-12-11dragonflybsd has added a urio driver. conservation of urios requiresTed Unangst
that we delete ours, which isn't actually useful. ok mpi sthen
2014-12-10retire shutdown hooks; ok deraadt, krwMike Belopuhov
2014-12-08Use tabs instead of spaces here.Brad Smith
2014-12-04Enable umcs(4) where moscom(4) is present.Martin Pieuchot
2014-12-02macppc G5 needs fcu in RAMDISK, mentioned by mpiTheo de Raadt
2014-11-25disable qla. there is a boot-time raceTheo de Raadt
2014-11-24use the correct capitalization for Realtek.Brad Smith
2014-11-19Add netudp.c here too for consistency, even though this code ends up not beingMiod Vallat
referenced by the bootblocks.
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
2014-11-11Do not held the kernel lock when calling hardclock() and statclock().Martin Pieuchot
This is not necessary, as confirmed by tedu@ and kettenis@. Solve the major contention problem seen on my Dual G5. Reduce the build time of a kernel with two jobs from 5h+ to 18min and expose more easily pmap/memroy corruptions 8) ok kettenis@
2014-10-27Remove the spilling code for IBAT register and set up the first IBAT registerMark Kettenis
to cover the first 8 MB of memory such that it covers kernel .text and not much else. This is a first step towards W^X in the kernel for machines with G4 and older processors. ok mpi@
2014-10-18Don't use %r1 to refer to bit 1. No binary difference.Mark Kettenis
2014-10-18Remove even more unnecessary `needs-flag' attributes from config machinery,Miod Vallat
as well as useless include of the generated flag files.
2014-10-10Significant unification of RAMDISK* config files, making them diffable.Theo de Raadt
This makes it easier to remove components not required to do an install, and subsequently add other desireable components ... In snapshots (in various forks) for about a week. Do some upgrades and installs, please.
2014-10-09Properly initialize secondary CPUs on 64bit machines.Martin Pieuchot
Due to a bug in our Openfirmware client interface on G5, the call to OF_finddevice() in cpu_spinup() will never return if the given argument is on the stack. Use a workaround for the moment and put it in the bss. Yes, this is ugly, but it makes GENERIC.MP ``usable'' on Powermac7,2 and 7,3 and does not freeze your machine during the first boot. Issue also reported by "The Mouse" on ppc@, tested by landry@
2014-10-09allow building a kernel without ddbTheo de Raadt
ok mpi
2014-10-09mechanical translation of dev_lkm_dummy() to dev_notdef()Ted Unangst
2014-10-09revert unintentional commit unrelated to LKMTed Unangst
2014-10-09remove LKM devicesTed Unangst
2014-10-08only call Debugger() #ifdef DDBTheo de Raadt
2014-10-08#ifdef SMALL_KERNEL some sensor blocks; ok miodTheo de Raadt
2014-10-08Introduce ppc_mttb() and use it instead of rerolling the move to timeMartin Pieuchot
base dance in inline assembly in various places. tweak and ok miod@
2014-10-04Switch the kernel configs over to using -Wframe-larger-than= instead ofBrad Smith
-Wstack-larger-than-. This is what modern GCC supports as well as LLVM. ok miod@
2014-09-27retire Accoom Networks Artery T1/E1 drive; ok claudioTheo de Raadt
2014-09-22Enable power saving modes for IBM PowerPC 970 CPUs.Martin Pieuchot
ok miod@
2014-09-19Use config_suspend_all(9).Mark Kettenis