summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10use the defines, not magic constants. ok kettenis@Dale Rahn
2008-06-06Remove long dead meat.Miod Vallat
2008-05-26Enable cmpci(4) and eso(4).Brad Smith
ok jakemsr@
2008-05-25Don't forget to actually return a value in ttyname(), and fix a bunch ofMiod Vallat
warnings while there.
2008-05-21Remove <machine/elf_abi.h> on platforms which have it. Nothing in the treeMiod Vallat
needs the few MD definitions they (sometimes) provide; only binutils is interested in them, but binutils provide their own include files for that purpose anyway. ok deraadt@ kettenis@
2008-05-14Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc andMiod Vallat
sgi.
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..