summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
AgeCommit message (Collapse)Author
2003-12-30Fix PowerPC ports build with KGDB.manu
2003-11-11Implement mach_thread_get_state.manu
While we are here, try to tag machine dependent functions in header files. also transformed darwin_ppc_*_state into mach_ppc_*_state, as this is what they really are (COMPAT_DARWIN is on the top of COMPAT_MACH, not the other way around)
2003-10-20Reorganize the way powerpc port install machine specific headers.matt
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and <powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure 1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include "../../powerpc/include/Makefile" in "arch/FOO/include/Makefile". Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
2003-09-03Move CLKF_BASEPRI to machine specific <intr.h> file since it depends onmatt
the encoding of the spl for the port.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-06-25Bracket the opt_multiprocessor.h #include with #ifdef _KERNEL_OPT.dyoung
It won't compile, otherwise. I figure this is right because it's done everywhere else.
2003-06-23Make sure to include opt_foo.h if a defflag option FOO is used.martin
2003-06-16Rename IPL_IMP -> IPL_VM.thorpej
2003-06-15Handle 64bit DMA addresses on PCI for platforms that can (currently onlyfvdl
enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
2003-06-11Support the PowerBook G4 12-inch (and maybe 17-inch).hamajima
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD I tested only 12-inch Japanese model.
2003-05-10Remove redundant bounds_check_with_label() prototype.thorpej
2003-02-15Add prototypes for ZS_TXDMA functions.tsutsui
XXX Maybe we should have DMA hooks in MI z8530tty.
2003-02-05Replace machine/rnd.h with more appropriate name to share itnakayama
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-03Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).matt
2003-02-03More cleanup for OLDPMAP.matt
2003-02-02Remove OLDPMAP support.matt
2003-02-02Perform a rototill of the powerpc code. Mandate use of SPRG0 to storematt
a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array. On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
2003-01-28Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.kent
2003-01-17Merge the nathanw_sa branch.thorpej
2002-12-10Use __LDPGSZ (which must be == USRTEXT) as the text address for a.outthorpej
executables, and eliminate the USRTEXT constant, which was only used by the a.out exec code.
2002-12-08A working fork/vfork implementation. Darwin fork differs from our fork bymanu
two ways: - the child gets its pid as retval[0] (userland stub will turn it into a 0), retval[1] is 1 and it is 0 in the parent. - in the child, the fork syscall is successful, hence we must skip the next instruction.
2002-11-26Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.lukem
2002-10-30Add missing file.matt
2002-09-10added defines for new partition types found in the wild:dbj
"Apple_UFS" "Apple_Boot" "Apple_Loader" "Linux" "Linux_swap" removed duplicate define for "Apple_Patches"
2002-08-13akbd's now have a raw mode, and implement the WSKBDIO_SETMODE ioctl.aymeric
Adapted from OpenBSD.
2002-08-07Implement pmc(9) -- An interface to hardware performance monitoringbriggs
counters. These counters do not exist on all CPUs, but where they do exist, can be used for counting events such as dcache misses that would otherwise be difficult or impossible to instrument by code inspection or hardware simulation. pmc(9) is meant to be a general interface. Initially, the Intel XScale counters are the only ones supported.
2002-07-28restructure the FPU and AltiVEC code so that it works for MP.chs
2002-07-05Peform a rototill over the powerpc-based ports.matt
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code. Add user Altivec support. Fix calls to OF_call_method in macppc/macppc/machdep.c. Use ci_fpuproc in cpu_info instead of separate fpuproc. Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
2002-06-19correct writedisklabel() on MBR-partitioned disk.itojun
while here, correct labelsector/offset mismatch in writedisklabel, when readdisklabel() have found the label at nonstandard location (due to magic number search). a lot of other ports have the same problem.
2002-06-18apm emulation, from openbsditojun
2002-06-05Make it possible not to have akbd.augustss
2002-05-15Let machine-dependent code specify how to enumerate the bus.thorpej
Currently, everyone uses pci_enumerate_bus_generic().
2002-04-10Disable BOOT_AOUT.tsutsui
2002-03-23Add support for storing NetBSD file system type codes inside ofwrstuden
an Apple Partition entry. As proposed to port-macppc. Also some prototype modernization for touched routines. Method is that NETBSD, NETBSD/MACPPC, NETBSD/MAC68K partitions, if they have a valid bzb, contain all of the info we shove in a NetBSD disklabel partition entry. defines in disklabel.h cover aliasing some of the bzb fields.
2002-03-17Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY foratatat
indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
2002-03-09switch all mpc6xx powerpc ports to NEWPMAP by default.chs
the old pmap is still available with the OLDPMAP option.
2002-02-28Use "#define<tab>".simonb
2002-01-06add support for kgdb over zsdbj
2001-11-15MAXSLP is defined to be a machine-independent scheduling parameter,soren
so move it into sys/param.h.
2001-11-14Bump the default macppc MSGBUFSIZE to 12KB so we can get an entirematt
sequence of boot messages.
2001-10-31Split elf32 vs. elf64 handling in loadfile(), including support forthorpej
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-08-26Make all powerpc ports use a common Makefile.powerpc (except walnut)matt
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-07-26Change description of handler-ID == 195.tsubai
2001-07-19Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-endthorpej
at dmamap load time that the mapping will be used for a unidirectional transfer of the specified direction.
2001-07-12Add the keyboard ID found on the American versions of the PowerBook G4 andnathanw
iBook (dual USB).
2001-06-19Add/change prototypes so that macpcc builds with -Wstrict-prototypes.simonb
2001-06-10include powerpc/mpc6xx/bat.h.tsubai
2001-06-10Make the new pmap optional. Use the old (stable!) pmap by default.tsubai
2001-06-08Make macppc compile by default with -Wall -Wmissing-prototype in additionmatt
to its currently enabled warnings. For the lack of a better place, most global function prototype wound up in <machine/autoconf.h> unless there was a better place for them. ofb_* structs renamed to offb_* to avoid conflict with ofb_softc in <dev/ofw/openfirm.h>
2001-06-06Changes new pmap, common param.h, vmparam.h, and moved includes.matt