summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
AgeCommit message (Collapse)Author
2001-06-26Cleanup of interrupt configuration, move prototypes to header file,Dale Rahn
not in each file.
2001-06-26stub bus_space_{alloc,free}Michael Shalayeff
2001-06-25implement bus_space_set_multi_*, based on netbsd code; drahn@ okMichael Shalayeff
2001-06-25config interfaces defines.Dale Rahn
2001-06-24Add prototypes for softnet, ofrootfound.Dale Rahn
Code cleanup for pmap headers.
2001-06-24Define splvm() for arches who don't already provide it, with the sameMiod Vallat
definition as splimp(). art@ ok
2001-06-24Header file to specify to loadfile what types of exe files to support.Dale Rahn
2001-06-24Prototype functions used in macros in this header file.Dale Rahn
2001-06-24Add prototype for ofwconprobe().Dale Rahn
2001-06-24fpu function prototypes;Dale Rahn
2001-06-24include prototype for calc_delayconst()Dale Rahn
2001-06-24Unused variable, poof.Dale Rahn
2001-06-24More inlined function cleanup for -W strictness.Dale Rahn
2001-06-24More inline function clean for -W flags strictness.Dale Rahn
2001-06-24More inline function cleanup for stricter -W flags.Dale Rahn
2001-06-24inlined function definition clean, in preparation of more strict -W warningDale Rahn
flags.
2001-06-23Header file changes to support symbol loading just added.Dale Rahn
2001-06-10Hack/workaround for gcc bug. GCC will generate a load/store double instructionDale Rahn
to do data copies, however it will not correctly identify that a load/store double will not correctly copy data where the address is misaligned. This emulates the load/store double operations in the kernel. Fixes gtk+ runtime problems. From NetBSD.
2001-06-10Post pmap_extract() changes cleanup.Dale Rahn
bus_addr_t vs vaddr_t/paddr_t Return correct value for poalloc();
2001-05-26Add one more '0' in comment.Artur Grabowski
2001-05-25Implement PMAP_MAP_POOLPAGE.Artur Grabowski
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-03-29Add OpenBSD tag to headers missing them.Dale Rahn
2001-03-29bus_space_*_raw_multi_* is supposed to take u_int8_t parameter, notDale Rahn
access size parameter. Also add field to hold bus size for later usage.
2001-03-29Make several global variables referenced as extern, not common.Dale Rahn
Cleans up symbols in object files.
2001-03-29Update to newer version from Nbsd. Add OpenBSD tag.Dale Rahn
2001-03-21__va_list is specified differently with the powerpc ABI than it is onDale Rahn
other platforms, the list is a pointer, thus va_copy should allocate data (using alloca) for that pointer before copying the contents of the data. This allows several gnu programs to build and run correctly which insist on multiply parsing the vararg/stdarg data passed to a function.
2001-03-14Support shared disks with MacOS. This is only one of the pieces ofDale Rahn
the task. The kernel now support a BSD disklabel located inside a HFS(DPME) partition of type "OpenBSD". It will use this disklabel for OpenBSD. If no OpenBSD DPME partition exists it will fake HFS partitions for apple HFS partitions of the disk. The tool to change the DPME partition type to OpenBSD and booting support in ofwboot are not yet ready.
2001-03-02add #define __STRICT_ALIGNMENTJason Wright
2001-02-22Improve the page mapped check algorithm in the powerpc pmap module,Dale Rahn
before it was looking through two arrays of 8 and a linked list of undetermined size, before deciding that a mapping was not valid. Now it allocates a data structure and caches that data. This improves both pmap_enter and pmap_remove because both check to see if a mapping is valid before taking the appropriate actions. Also in pmap_remove, if the va mapping is found, stop searching for it in the rest of this array, the alternate array and the linked list. only one valid mapping of each va is allowed. This change improved lat_mmap (from lmbench) from 1300 to 720 and fork+exit from 7320 to 2724 microseconds.
2001-02-07Add support for bus_space_write_region_[1248] bus_space_read_region_[1248]Dale Rahn
as needed for some drivers, primarily drivers from NetBSD, where these defines came from.
2001-02-07Some devices use NPBG others want PAGE_SIZE, and the related macros.Dale Rahn
so provide both.
2001-01-24Optimization base on looking at generated asm code.Dale Rahn
also change type of a variable from (void) * to (char *) since it is incremented as if a (char *).
2001-01-24Always do MACHINE_NEW_NONCONTIG, not based on UVM or not.Dale Rahn
2001-01-24Remove block of "#if 0"ed code.Dale Rahn
2001-01-22Define ARCH_ELFSIZE that is the default elf size on this arch.Artur Grabowski
2001-01-15__asm__ and __volatile__Theo de Raadt
2000-11-11Add bus_space_barrier code to powerpc bus.h. This portion of theDale Rahn
bus interface was not previously implemented. This functionality is required for the latest USB changes. The bus_space_barrier does not perform any operation with this change, it expects that the device mappings will be performed with the Guard bit set which then should not require this forced sync.
2000-09-14crank MSGBUFSIZETheo de Raadt
2000-09-06Add header file for adb subsystem.Dale S. Rahn
2000-08-03Fixes to bus dmamem code.Dale S. Rahn
(Fixed by replacing the code with the version from the i386 port.)
2000-07-31Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms ofTodd C. Miller
UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
2000-07-28Dont force htab size to be fixed size, allow system to define size.Dale S. Rahn
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