Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-30 | Remove some trailing whitespace. | Kenneth R Westerback | |
2015-09-30 | Use consistant whitespace/comments for #define'ing LABELSECTOR, | Kenneth R Westerback | |
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change. | |||
2015-09-28 | More mechanical switching to readdisksector(), although this is a | Kenneth R Westerback | |
slightly different pattern. hppa/macppc compile and boot so hppa64/aviion surely do too! ok deraadt@ | |||
2015-09-28 | Use readdisksector() instead of manual buf initialization. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-19 | trivial "if(x) free(x)" replacement by "free(x)" | Sebastien Marie | |
ok miod@ | |||
2015-09-14 | unify free(NULL,size) behaviour by allowing passing NULL | Sebastien Marie | |
ok millert@ jasper@ | |||
2015-09-13 | remove delta | Theo de Raadt | |
2015-09-11 | Build actual boot code with -D_STANDALONE so that we do not include userland | Miod Vallat | |
headers by mistake. | |||
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-09-06 | seperate a variable into two, so that the size of a free() is remembered. | Theo de Raadt | |
ok semarie | |||
2015-09-06 | pretty simple size for free() | Theo de Raadt | |
2015-08-30 | Enable xhci(4) now that it attaches correctly on my G5. | Martin Pieuchot | |
2015-08-30 | Map the whole config1 space based on the size read from the | Martin Pieuchot | |
device-tree. With this change, supplementary PCIe cards are now properly detected. This should prevents the kernel from faulting when reading unmapped PCI addresses as reported by Donovan Watteau on ppc@. ok kettenis@ | |||
2015-08-24 | Workaround for slow bm(4) from NetBSD PR 33667 via Donovan Watteau on | Martin Pieuchot | |
bugs@. | |||
2015-08-14 | replace the asm mutexes with a c implementation. | David Gwynne | |
there's no real functional advantage to this, except that it will make it easier to add deadlock detection to the code. this is modelled on the c mutex implementation thats on alpha, mips64, and hppa. ok mpi@ kettenis@ | |||
2015-07-29 | 17 years ago, setfault() was modified to save the status register in the | Miod Vallat | |
faultbuf. But 1/ sr was only restored for machine check exceptions, and 2/ the way it was saved was unsafe if interrupts were enabled, and could cause %r2 to be lost. Discussing this with deraadt@ at the end of c2k15, this was probably needed for the old VI boards which were the target of the original powerpc port, came with a worse-than-Genesi openfirmware. Since then, machine check exceptions have been unheard of; or, if they happen, they do not need the status register to be restored. ok mpi@ deraadt@ | |||
2015-07-21 | add braces to avoid an uninitialised variable use | Jonathan Gray | |
ok mpi@ looks correct miod@ | |||
2015-07-17 | remove obsolete INET kernel option | Ted Unangst | |
2015-07-17 | Make sound cards work on older PowerMacs. | Martin Pieuchot | |
On such machines the device-tree contains absolute addresses for the various sound buttons and the hardware was not properly initiliazed. Problem reported and fix tested by Fabian Frédérick. | |||
2015-07-17 | Remove {LOAD,COUNT}_TEXTA from libsa loadfile, it only made sense for a.out | Miod Vallat | |
kernels and we no longer have any. | |||
2015-07-08 | MFREE(9) is dead, long live m_freem(9)! | Martin Pieuchot | |
ok bluhm@, claudio@, dlg@ | |||
2015-06-26 | move the ppc mplock implementation from macppc to powerpc. | David Gwynne | |
ok mpi@ | |||
2015-06-26 | Do not compare against a null string. When ofw_find_keyboard() is run | Martin Pieuchot | |
hw_prod is not initialized. While here simply use "PowerBook" as model name, there's no "iBook" model in Apple device-trees. ok miod@ (who's cleaning one of his forests after 3 years) | |||
2015-06-25 | OF_getprop() returns an int, so comparing its return value against sizeof casts | Miod Vallat | |
it to unsigned, and we need to also check for negative values. All users of OF_getprop() did this but that one. ok mpi@ | |||
2015-06-25 | Use a single event counter for IPIs like other archs do. | Martin Pieuchot | |
Even if this counter is subject to trashing it is a simple solution and gives an proximation "good enough" of the number of IPIs on Quad CPUs machine. ok deraadt@ | |||
2015-06-24 | Do not quiesce the firmware on Quad G5 to let it manage the fans. | Martin Pieuchot | |
This also unbreak "bsd -cd" on such machine since we use OpenFirmware's input at this stage of the boot process. | |||
2015-06-24 | IPL_MPSAFE bits for macppc with openpic(4). | Martin Pieuchot | |
2015-06-24 | Increment if_ipackets in if_input(). | Martin Pieuchot | |
Note that pseudo-drivers not using if_input() are not affected by this conversion. ok mikeb@, kettenis@, claudio@, dlg@ | |||
2015-06-22 | document that boot.conf can contain comments; | Jason McIntyre | |
from tilo stritzky thanks miod for help with the diff, and who also noted that leading whitespace gets stripped too; | |||
2015-06-17 | crank to 5.8-beta | Theo de Raadt | |
2015-06-13 | When investigating an uninitialised variable in the armv7 resettodr() | Jonathan Gray | |
miod pointed out that time_second should be compared to 1 not 0 in the md resettodr() functions as it is initialised to 1. ok miod@ deraadt@ | |||
2015-06-05 | Put spaces and commas where they belong. | Martin Pieuchot | |
2015-06-04 | The (no quite so) new kernel perfpolicy code calls cpu_setperf() from a | Mark Kettenis | |
timeout. Unfortunately the smu(4) CPU voltage slewing code sleeps, which causes a kernel panic. Prevent this by delegating the CPU frequency switching and voltage slewing to a task. ok mpi@ | |||
2015-06-03 | Support for U4, missed in previous. | Martin Pieuchot | |
ok kettenis@, miod@, dlg@ | |||
2015-06-03 | Check for the correct bit in the interrupts property of the device-tree | Martin Pieuchot | |
to determin if interrupts should be established as edge/level triggered. Fix audio interrupts on U4 systems. On such systems the "interrupts" fields in the device-tree has more bits set and cannot be compared to 0. | |||
2015-06-03 | Add hpb(4), reminded by Brad. | Martin Pieuchot | |
2015-06-02 | Add a new HT-PCI bridge driver and the necessary glue to openpic(4) | Martin Pieuchot | |
to get interrupts working on U4 machines. With this OpenBSD can run on PowerMac11,2 (Quad G5). With inputs from and ok kettenis@, miod@, dlg@ | |||
2015-05-30 | Remove commented out DRMDEBUG/DRM_DEBUG lines. Other drivers don't have | Jonathan Gray | |
similiar lines so drm shouldn't either. | |||
2015-05-28 | when machdep.allowaperture sysctl is set to 3, allow concurrent access | Joshua Stein | |
2015-05-13 | test mbuf pointers against NULL not 0 | Jonathan Gray | |
ok krw@ miod@ | |||
2015-05-11 | Remove all audio format conversion code from the kernel (btw holding | Alexandre Ratchov | |
the kernel_lock), as we already do better conversions in user-mode. Yet, no need for every single driver to fiddle with the conversion code as they are done transparently by common MI code. With help from armani and miod, support from mpi ok armani@ | |||
2015-05-07 | remove badly indented printf and it's preceeding test | Jonathan Gray | |
as suggested by miod@ | |||
2015-05-06 | Add missing braces so this will correctly fall back to the "name" | Jonathan Gray | |
property of a node if "device_type" is not present. ok mpi@ miod@ | |||
2015-04-16 | Enable ualea(4) where we have uhub(4), these USB device lists cry for | Martin Pieuchot | |
unification... | |||
2015-04-08 | Kill unused function. | Martin Pieuchot | |
2015-04-07 | Remove a lie, the early boot console does not need any mapping. | Martin Pieuchot | |
In fact we even use the firmware interface for "bsd -c" and "bsd -d". So do the necessary firmware calls before calling initppc() to be able to use printf() really early in the boot sequence. | |||
2015-04-07 | Mark audio interrupt handlers as MPSAFE, they already grab the right | Martin Pieuchot | |
mutex when necessary. ok kettenis@, ratchov@ | |||
2015-04-07 | Use appropriate memory barriers. | Martin Pieuchot | |
ok kettenis@, miod@ | |||
2015-04-02 | use correct capitalization of 'BlackBerry' | Jasper Lievisse Adriaanse | |
"sure" deraadt@ | |||
2015-04-02 | Merge openpic_init() into openpic_attach(), no functional change. | Martin Pieuchot | |