summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
AgeCommit message (Collapse)Author
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
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-08-01proto __flt_rounds correctlyTheo de Raadt
1997-07-24multiple inclusion protection; brenner@umr.eduTheo de Raadt
1997-07-07Too many things include <machine/ansi.h> w/o <sys/types.h> soTodd C. Miller
make time_t int not int32_t.
1997-07-05Make _BSD_TIME_T_ int32_t on all platforms. You can't writeTodd C. Miller
lint-free code when these differ in name accross platforms. Fundamnetal type has not changed (was int on alpha and long on others).
1997-06-25Sigh, Revert changes to endian.h - it was all confusion due to incorrectgrr
usage in new ip_* code, since fixed. Added usage notes to prevent future confusion in this regard.
1997-06-25Big endian HTON?() macros should be (void)(x).Jason Downs
1997-06-24change like sparc/include/endian.hgrr
1997-05-05add Extended partition id.Dale S. Rahn
I hate when things are sitting around in trees forgotten.
1997-04-04Define in_addr_t and in_port_t everywhere but use u_intXX_t forTodd C. Miller
htonl and friends.
1997-03-21New FIXUP_PC_AFTER_BREAK convention from NetBSDNiklas Hallqvist