summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
AgeCommit message (Collapse)Author
2000-07-07Since it is possible for the interrupt controller to be configured lateDale S. Rahn
in the config cycle, and pci devices as well as mac onboard devices do not use interrupts to probe. It is possible to record that the interrupt is to be configured, but not configure it with the interrupt controller until the interrupt controller configures itself. This is lazy binding of interrupts. If there is a conflicting interrupt or other problem it will be noticed when the interrupt controller configures and collects the data rather than when the device configures. Currently on the openpic interrupt controller supports these pre-configured interrupts.
2000-07-07Additional bus defines, required to build ahc driver. ahc not quite workingDale S. Rahn
due to busdma issues on powerpc.
2000-07-06Change splsoftclock() to raise the spl, instead of lowering it.Hakan Olsson
Add spllowersoftclock() for the former behaviour. Update comment. (art@ ok)
2000-06-13Add dewey and SOD information to this header file, for ELF ld.soDale S. Rahn
2000-03-31add support for intrcnt from "C", make CLK_IRQ availableDale S. Rahn
to count clock interrupts.
2000-03-20Make float.h and limits.h agree for DBL_MIN and DBL_MAX.Dale S. Rahn
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
2000-02-22Use an _BSD_FOO_T_ type declaration for off_t in machine/ansi.h to allowTodd C. Miller
off_t to be visible in stdio.h even in strict ansi mode. This is needed for ftello()/fseeko() and it allows us to remove the horrible fpos_t hack.
2000-02-03Define missed when the intial bus_dma code was checked in.Dale S. Rahn
Full dma code not yet integrated.
2000-01-24required files for ELF share library support. this version isDale S. Rahn
somewhat skeletal.
2000-01-14UVM changes mainly. As of this checkin UVM is still not working for powerpcDale S. Rahn
it has a copyin bug after device configuration. However to get these diffs out of my tree. All of the UVM code is currently inside ifdef UVM the kernel works fine without option UVM. Config files have been left without UVM for now. Prelimiary changes for busdma, (what UVM was wanted for).
1999-12-04DOSPTYP_EXTENDL; sigh@kuzirabekon.econ.nagasaki-u.ac.jpTheo de Raadt
1999-11-28Lower NKMEMCLUSTERS from 128MB to 16MB. Currently the vm size for powerpcDale S. Rahn
is set to 256MB and this prevented OpenBSD from booting on machine with more than ~128MB, 196MB machines would fail to boot very early.
1999-11-09autoconf.hDale S. Rahn
add mac hooks to the powerpc config structure, probably a hack, and certainly needs to be cleaned up. bus.h p4e_ -> ppc_X add write_multi and prototypes for bus_space_X_raw_multi functions. intr.h add structure for interrupt handler. pio.h remove the unnecessary and slowing "sync" instruction from each pio access. remove unnecessary newline characters from the generated asm. eieio after writes, but before reads. types.h formatting change vmparam.h change powerpc kernel virtual memory sizing from a fixed segment to a variable, initialized with a segment size, this is so that the pmap allocator can steal virtual memory, if vm is not yet set up. Necessary for mapping devices before the kernel vm structures are initialized.
1999-10-26Fix inline function decls to work with C++.Jason Downs
1999-07-07define vaddr_t, paddr_t, vsize_t and psize_tArtur Grabowski
1999-07-05header file changes for recent powerpc changes.Dale S. Rahn
1999-06-13Transitional va-ppc.h that works with both egcs and gcc-2.8. It mayDale S. Rahn
be possible to have more optimial egcs support.
1999-05-10Use symbolic define for BYTE_ORDER.Marc Espie
(don't forget that cpp is `lazy': #define A B #define B value #if A == value works, since A isn't extended before it's needed, by which time B is known)
1999-03-23Add DOSMBR_SIGNATURE_OFF define, needed for last disklabel changeTodd C. Miller
1999-03-12Additional pic related change, not currently used by powerpc port.Dale S. Rahn
1999-01-08move spinlock.h into the real worldDavid Leonard
1999-01-08make uint*_t line up nicely and add a few $OpenBSD$ tags that were missingTodd C. Miller
1999-01-07move uint*_t to machine/types.hTodd C. Miller
1998-10-09Workaround for wscons support, this is how this was done on alpha,Dale S. Rahn
we really should fix the config args of the wscons code.
1998-10-09requesting tty and net soft interrupts does not mean requesting a clockDale S. Rahn
soft interrupt.
1998-09-27add wscons support to powerpc port.Dale S. Rahn
This contains several pieces of the port MI: vgafb, on powerpc under openfirmware the vga card comes up in gfx mode. instead of resetting it to text mode, vgafb treats this as a raster display. The mechanism used may not have been the best, it's interface to wscons is as a text display, and it does the character plotting itself. font_8x16.c was stolen from the atari port for use. MD: ppcppi support stolen from alpha pms.c, pckbd.c and the rest of the support files were used nearly directly. powerpc conf.c to support wscon, vga/kbd machdep.c hack to get around a bus_space_set_region,bus_space_copy error. ofw_machdep.c some hack code on the road to supporting wscons as console.
1998-08-25Use symbolic namesPer Fogelstrom
1998-08-25Make faultbuf a structPer Fogelstrom
1998-08-25Local macroPer Fogelstrom
1998-08-25CleanupPer Fogelstrom
1998-08-25Fix a couple of spl errors - spotted by Dale and me.Per Fogelstrom
1998-08-22Various changes to allow mixing of ofw drivers and real drivers.Dale S. Rahn
NCR driver seems to work. Major changes are isa can be child of pci or mainbus. ofroot is child of mainbus not root. ofw bus configured before pci bus Note that if a pci device configures accessing of driver will crash the system. they need to be exclusive.
1998-08-22Changes to get a at least mostly working kernel debugger.Dale S. Rahn
Need to get symbol support in the loader too.
1998-08-18add powerpc_btop() and powerpc_ptob() macros for consistency with other portsTodd C. Miller
1998-08-07Add kernel support for debugging with gdb. This also make /proc allowDale S. Rahn
access to the registers. The format of the registers returned in ptrace, /proc and in the coredump header match what gdb was expecting. Floating point registers are not yet copied into the structure. The location of the fpr needs to be found and copied. <- TODO Changes to trap.c was to add some interm debugging. code is commented out. powerpc does not currently have a MID_* type, since it uses ELF instead of a.out, one was never added. Currently the coredump is done in form of MID_NONE. What is the correct approach for this?? Elf format coredumps... maybe?
1998-08-06Some small fixes for non ofw systemsPer Fogelstrom
1998-07-04Profile support for powerpc port. Now profiling libraries and binariesDale S. Rahn
can be built.
1998-05-29Major changes here and there, tweaks elsewhere.Dale S. Rahn
Support for Openfirmware drivers was reintroduced so that more systems were supported. This should work with the real driver configurations as well. Bootloader files were deleted/replaced with the newer versions in the subdirectory. Some effort has been made to be closer to support booting (at least the bootloader) on the Mac. Config files that end with OFW are the openfirmware versions of the kernels without have native drivers. Native driver support has not been changed, presumably it still works. I couldn't test that.
1998-04-06-lock.hPer Fogelstrom
1998-04-06new alignement (abi)Per Fogelstrom
1998-03-22Add UID_MAX and GID_MAXTodd C. Miller
1998-02-19add netbsd partition, rename 386BSD one to FreeBSD..Theo de Raadt
1998-01-20Merge bus_dma support from NetBSD, mostly by Jason Thorpe. Only i386 uses itNiklas Hallqvist
so far, the other archs gets placeholders for now. I wrote a compatibility layer for OpenBSD's old isadma code so we can still use our old driver sources. They will however get changed to native bus_dma use, on a case by case basis. Oh yes, I almost forgot, I kept our notion of isadma being a device so DMA-less ISA-busses still work
1998-01-11disklabel spoofing for FAT32.Niels Provos
1997-11-09New endian.h design. All architectures now use a common file for the bulkNiklas Hallqvist
part. Some ports can optimize the swap operations. This also means the general API is extended with swap16, swap32, htobe16, htobe32, betoh16, betoh32, htole16, htole32, letoh16 and letoh32.
1997-10-14Get a few things right...Per Fogelstrom
1997-10-13A few adjustments.Per Fogelstrom
1997-10-13Monolithic PowerPC kernel, new includePer Fogelstrom
1997-09-29DOSMBR_SIGNATURE, DOSACTIVE; weingartTheo de Raadt