summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2012-10-14The msdos1mb file has not been used since we got newfs_msdos.Theo de Raadt
ok krw
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
2012-10-08push irqloop warnings into #ifdef DEBUGTheo de Raadt
2012-09-27enable smscJonathan Gray
2012-09-08Include files.agp to be able to check against NAGP in the drm agp glue.Martin Pieuchot
2012-09-02Allow bootblocks to build in PIE; joint effort with pascalTheo de Raadt
boot.mac might still have a problem since it did change size... looking for a testing report.
2012-09-02Bump the buffer size from 32 to 128 bytes, because some responses mayMartin Pieuchot
have 120 bytes of data. Diff by briggs@NetBSD, pointed out by and ok miod@
2012-08-30Determine the memory and mmio regions based on previously initialzed BARMartin Pieuchot
structures and add the necessary glue to attach drm(4). ok kettenis@
2012-08-30Add the possibility to map DMA memory non-cached, based on the i386/amd64Martin Pieuchot
implementation. For the moment only the BUS_DMA_NOCACHE macro is required to build drm on macppc but it will be used soon. ok kettenis@
2012-08-28Add -nopie to LINKFLAGS on ELF architectures. Note that this needs anPascal Stumpf
updated gcc and ld to understand the new -nopie flag. ok deraadt@
2012-08-24ansiJonathan Gray
2012-08-23kill nnpfs deadTheo de Raadt
2012-08-22Build the kernel with -fno-pie. Just getting Ms out of my tree; this will bePascal Stumpf
cleaned up later. ok deraadt@
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-21For interrupts that get established before we attach the interrupt controller,Mark Kettenis
store the type of the interrupt (level, edge). ok miod@, mpi@
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2012-06-21Only allow the memory and mmio regions to be mmap()'ed at their realMartin Pieuchot
addresses, remove the magic value to uniformize access to the mmio and doesn't map the unused pseudo-vga registers. While here simplify the console attachement logic and removed some unused global variables. Tested by matthieu@ and myself on various different G3 and G4 models. ok kettenis@
2012-06-20move to 5.2-betaTheo de Raadt
2012-04-06tedu the raidframe.Joel Sing
ok deraadt@
2012-03-26Add APM_IOC_HIBERNATETheo de Raadt
2012-02-24Correct the spelling of "transferred" and "transferring"Philip Guenthe
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
2012-01-29Ansify and remove useless variable.Martin Pieuchot
ok miod@
2012-01-29Start cleaning vgafb(4) to be make it more like vga(4). Remove unusedMartin Pieuchot
function and move vgafb functions to there right place. ok miod@
2012-01-11crank to 5.1-betaTheo de Raadt
2012-01-06Attach ath(4) to cardbus and add it to bsd.rdMartin Pieuchot
ok jsg@, kettenis@, deraadt@
2011-11-19Remove unused function forgotten during the switch to the interactiveMartin Pieuchot
bootloader and make use of strrchr() in hfs_open because we have it. ok krw@
2011-11-19Rewrite the parsing of arguments given to the ofwboot and restore theMartin Pieuchot
possibility to boot a kernel from an HFS partition when there is no OpenBSD partition on the disk. Problem reported by cbsoleil at gmail.com and analysed by otto@. Tested by otto@, krw@ and drahn@ ok krw@, drahn@
2011-11-15Simplify various parts of the puc(4) attachment code. Tested lightlyTheo de Raadt
by krw and myself.
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-10-28Enable interrupts while processing off level interrupts. simplify codeDale Rahn
instead of having two levels of looping. commit it for testing deraadt@
2011-10-28Ignore devices with irq 0 on mpcpci bus, the only devices seen thisDale Rahn
way is hardware not found in the openfirmware tree. diff from kettenis@ commit it deraadt@
2011-10-27Specify the TLS variant for each platform.Philip Guenthe
2011-10-24Revert last change, reported increased stablility with the change wasDale Rahn
grossly overstated.
2011-10-22Do not run off level interrupts with external interrupts disabled asDale Rahn
the off level interrupt could lead to a hang. Fixes hang seen by jasper@
2011-10-06ccd goes to the atticTheo de Raadt
discussed with jsing and millert
2011-09-29Fix local types in vgafb_pci_probe(), to match what pci_*_find() expect,Miod Vallat
after the bus_{addr,size}_t type definition change.
2011-09-27Make bus_addr_t and bus_size_t u_long types, instead of either uint32_t orMiod Vallat
uint64_t, depending upon the platform; this makes the declaration of these types consistent accross all our supported platform, and we do not intend to support a platform where bus_addr_t could be larger than the size of the cpu register. Requested by deraadt@ during s2k11
2011-09-17arithemtic -> arithmeticMiod Vallat
2011-09-16Set the shared priority entry to the value of the current maxipl entry,Dale Rahn
not the index. ok kettenis@
2011-09-04oops, this DPRINTF flavour takes no parentheses.Miod Vallat
2011-09-04Silence awacs_trigger_input by turning a noisy printf into the DPRINTFMiod Vallat
it was intended to be; reported by Donovan Watteau
2011-08-29Return of the long missing powerpc interrupt rewrite. Was working forDale Rahn
several weeks before release on macppc, socppc bugs just fixed.
2011-07-18take us to 5.0-betaTheo de Raadt
2011-07-10Oops. Copy just the comment about the checkdisklabel() call, notKenneth R Westerback
the checkdisklabel() calls themselves. What's good for hppa/hppa64 is not necessarily good for sgi/macppc. Spotted by deraadt@.
2011-07-10If there is recognized MD disk partitioning info, use it to determineKenneth R Westerback
where to write the OpenBSD disklabel even if there isn't yet a valid OpenBSD disklabel at that location. Alpha/Mac68k/Sparc/Sparc64 to come.
2011-07-08Cleanup calculation of OpenBSD disklabel location on DPME partitions. The labelsKenneth R Westerback
should go in the first block of the OpenBSD partition. Don't try to fake this out by tweaking the partition offset, which just confused other disklabel consumers. Problem noted on ppc@ by Mathieu Olivier some time ago. ok drahn@
2011-07-08Unbreak macppc bootloader due to libz changes.Dale Rahn
2011-07-08When reading dos labels use DOS_LABELSECTOR and don't use LABELOFFSET. For ↵Kenneth R Westerback
all these arch's LABELSECTOR == DOS_LABELSECTOR == 1, and LABELOFFSET == 0. Thus, to quote bob, "This is a no-op". Makes the expression used when writing label the same as the one used in readdoslabel().
2011-07-07deraadt says disable bluetooth everywhere else tooTed Unangst