summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2008-05-13Fix chrtoblktbl[] entries.Miod Vallat
2008-05-04Manage interrupts based on priority better, still working on this...Dale Rahn
2008-05-03Rework the interrupt calculation masks, a bit easier to follow (not so wrong).Dale Rahn
2008-05-02Invalidate and initialize the l2 on secondary processors, ok kettenis@Dale Rahn
2008-05-02Remove debug prints.Dale Rahn
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-30Spacing.Mark Kettenis
2008-04-30Fix typo in last commit.Mark Kettenis
2008-04-30Initialize randseed to 1.Mark Kettenis
2008-04-29remove noise, (debug print).Dale Rahn
2008-04-29PIR is not defined to be a writable register, do not use it.Dale Rahn
2008-04-29Spin up secondary CPUs on more systems.Dale Rahn
2008-04-29spillstk and ddbstk need to be per cpu. Found by kettenis@Dale Rahn
2008-04-27Switch to proc based ast pending for SMP. ok kettenis.Dale Rahn
2008-04-26Changes to get closer to SMP.Dale Rahn
add biglock before interrupt calls into the kernel. switch the clock to using cpuinfo variables instead of globals move cpu_switchto into C code so that on multiprocessor the FPU and Altivec can be saved before switching CPUs. add a lock into pmap when modifying the hash table.
2008-04-25Pretty dmesg output on attach and error handling.Xavier Santolaria
Prodded by deraadt; ok dlg derradt
2008-04-25neccessary -> necessary; from Pierre RiteauJason McIntyre
2008-04-23Call sched_init_cpu() for all but boot processor. ok kettenis.Dale Rahn
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-19Change ELF loader to use the LMA as the load address for theTobias Weingartner
various segments. Hopefully this will help remove various hacks in the boot loader in the future. This should have no effect on most architectures (as we tend to have LMA == VMA). ok drahn@, soft ok's various others.
2008-04-18if an iic operation fails to move all the data, return errorTheo de Raadt
ok kettenis
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-09Add new stub uvm_shutdown() and call it from the right place in MD boot()Theo de Raadt
2008-04-08Split the cdev makro for bpftun into two seperate definitions. tun(4) andClaudio Jeker
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
2008-03-30nam2blk[] clearly must contain "rd" ... found by krwTheo de Raadt
2008-03-25Make pci_intr_map(9) fail if the interrupt line register is set to 0xff.Mark Kettenis
Prevents crashes later on when we try to estabish the interrupt. ok miod@, deraadt@
2008-03-23setroot() is supposed to be safe in all cases, so kill the special casesTheo de Raadt
for RB_DFLTROOT; ok miod
2008-03-21crank maxusers on some architecturesTheo de Raadt
2008-03-01Print consoleness the canonical way.Mark Kettenis
tested by deraadt@, ok krw@
2008-02-24Add commented out Bluetooth HID sectionUwe Stuehler
ok deraadt
2008-02-204.3-betaMiod Vallat
2008-02-15Reenable idle modes on powerpc. Tested by kettenis and myself.Dale Rahn
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-19Activate upgt(4) for macppc. Tested for a while on my PowerBook.Marcus Glocker
OK dlg@
2007-12-11reword license to change regents to authors, and remove advertising clause.Ted Unangst
cleared with all original authors. ok deraadt
2007-12-11remove support for 8kHz sample rates. not all i2s based audioJacob Meuser
devices support 8kHz sample rates, and there is insufficient code to enable it properly on the devices that do support 8kHz. fixes "evil sound" problem reported by ajacoutot@ and jdixon@. ok deanna@, ratchov@, ajacoutot@
2007-12-09Add an empty pccbb_attach_hook.Mark Kettenis
2007-12-04Remove remains of the idle pcb/stack.Mark Kettenis
ok miod@
2007-11-30Define NORMAL_C_NOP everywhere.Miod Vallat
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-26Move the implementation of __mp_lock (biglock) into machine dependentArtur Grabowski
code. At this moment all architectures get the copy of the old code except i386 which gets a new shiny implementation that doesn't spin at splhigh (doh!) and doesn't try to grab the biglock when releasing the biglock (double doh!). Shaves 10% of system time during kernel compile and might solve a few bugs as a bonus. Other architectures coming shortly. miod@ deraadt@ ok
2007-11-26few more dribbles of LIBKERN cleanupTheo de Raadt
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-11-24Some macppc models (e.g. the 1.5 GHz G4 MacMini) have a large clock driftMarc Balmer
which is due to the timecounter running at a different frequency than what OpenFirmware tells us. On such machines, measure the actual timecounter frequency (triggered by a table of affected models) and use this measured value instead. This brings down the drift to values where adjtime()/adjfreq() triggered by ntpd(8) can tame the clock. feedback many, ok miod, kettenis
2007-11-17- move the re/bwi CardBus entries in the GENERIC kernel config intoBrad Smith
the CardBus section. - add forgotten re CardBus entry to the RAMDISK kernel config. ok dlg@
2007-11-12/dev/openpromMark Kettenis
ok miod@, deraadt@
2007-11-10Activate umbg(4) on macppc.Marc Balmer
ok jsg, dlg.
2007-11-05fix and use DEVICE_IS_VGA_PCI, makes vgafb_pci_match() much simplerMartin Reindl
ok oga@ brad@
2007-11-05audio encoding conversion cleanupJacob Meuser
- the endianness of the conversions don't depend on the endianness of machine the conversions are built on, but the endianness of the audio data itself. choose encoding conversions explicitly, instead of relying on #defines based on the endianness of the machine. - replace home-grown conversions with comparable conversions in auconv.c and mulaw.c - use the proper conversion for ulinear_be:16 -> slinear_le:16 in auixp(4) thanks ajacoutot@ and sthen@ for !x86 testing