Commit Graph

172 Commits

Author SHA1 Message Date
thorpej 46320bb017 Clean up the bus space function namespace somewhat; make sure they don't
collide with function names used in other parts of the kernel.
1998-06-28 07:27:51 +00:00
thorpej 3497ab9a8c Add a pointer to an array of DMA ranges. DMA buffers must lie within
a range, or else an error is returned when loading a map.  If the ranges
pointer is NULL, no range checks are performed.
1998-06-28 03:22:10 +00:00
thorpej a4e8fc45cd Nuke the _cookie member of the bus_dma_tag_t; it's not used by anything. 1998-06-27 02:16:23 +00:00
thorpej 06f1469055 Really namespace-protect the virtual address in the DMA segment structure. 1998-06-27 02:13:39 +00:00
mark abbf864c5c Provide a dummy definition of __warn_references macro when __GNUC__ is not
defined.
1998-06-25 21:54:35 +00:00
mark 86e861d49f Rename the boot() prototype to cpu_reboot().
Remove consinit() and process_kernel_args() prototypes.
1998-06-24 18:37:49 +00:00
tv ba144108f6 Bring shark includes to mainline and nuke the branch. 1998-06-19 15:55:13 +00:00
mark 841b858742 Define interrupt information for SHARK. 1998-06-17 19:36:33 +00:00
mark a27bae87fb Define _BootConfig structure for OFW based booting. 1998-06-17 19:35:24 +00:00
kleink 1fbd0b3749 GC the unused `physadr' type, which was not able to hold a complete physical
address on 2 architectures anyhow.  Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
tv 254edea7e0 Merge Shark/OFW changes for device configuration. 1998-06-12 23:59:22 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
mark 0f5f9c0221 Added support for DOS MBRs in addition to filecore boot blocks from
Chris Demetriou. Filecore and MBR handling has been split out into
separate files. Still needs some work before this could become MI.
Also fix the way in which arm32 filecore checksums are calculated so
that sectors filled with the same byte will not pass the checksum.
1998-06-08 20:21:17 +00:00
mark bdfeab3714 Merge in UVM support from Neil Carson <neil@causality.com>. 1998-06-02 20:41:46 +00:00
mark 0618ed7122 Define the maximum size of the kernel VM data area. 1998-06-02 20:33:01 +00:00
mark ea702a5130 Switch to MACHINE_NEW_NONCONTIG as the default. 1998-06-02 20:32:18 +00:00
kleink a97fc2f180 If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
mark a76affde1d Add MACHINE_NEW_NONCONTIG support. 1998-05-08 23:36:08 +00:00
mark cce74dbcca Remove the definition of the cpu_softc structure from here. 1998-05-01 15:32:55 +00:00
thorpej 1686aca01d Pull in opt_gateway.h as appropriate. 1998-04-29 23:11:00 +00:00
kleink a53c1863fe Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
mark 569be6d488 Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark fcc1093bee Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark 15901d1be3 Remove rtc_read() and rtc_write prototypes. 1998-04-19 03:49:17 +00:00
mark f4c5b8f91a Define profiling and non-profiling versions of the ENTRY and ASENTRY
macros. No extra profiling code is generated if profiling is turned
on yet, but get the structure ready. (from cgd).
1998-04-01 22:50:22 +00:00
mark c6b5400405 Add a couple of missing brackets in the arm_byte_to_page and
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark 47ec7dab23 This file is no longer included by anything and is out of date. All
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
cgd 4bbda026af The arm32 'char' is unsigned. Fix CHAR_MIN and CHAR_MAX to reflect that.
(they were incorrect, defined to be the values that they should have were
'char' signed.)
1998-03-24 23:13:28 +00:00
mark d011ec2573 Provide a prototype for cpu_reset(). 1998-02-22 00:05:56 +00:00
mark 24aaa5f9dd Add macros for the CPU functions disable_interrupts(), enable_interrupts()
and restore_interrupts().
1998-02-21 23:17:05 +00:00
mark ccb81fe3d3 Remove prototype declarations of disable_interrupts(), enable_interrupts()
and restore_interrupts() as these are CPU related functions.
1998-02-21 23:16:28 +00:00
mark 706589adb9 Update the L1_SEC() macro to take a cache enable mask.
Add a macro L1_SEC_SIZE to define the size of a L1 section.
1998-02-21 23:11:28 +00:00
mark c81dae4473 Move some prototypes form katelib.h to a more suitable home in cpu.h 1998-02-21 22:49:18 +00:00
mycroft 3b9429b248 Minor changes to make all the float.h files match. 1998-02-18 11:01:27 +00:00
cgd 3bbb7f7d45 Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej 8abe76d2f0 Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej 99cc8482d1 Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call.  Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej 4e7c05e588 Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
mark b280ec0268 Update copyright. 1998-02-03 19:08:27 +00:00
mycroft b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
thorpej 2538ed1062 Use offsetof() from libkern.h 1998-01-28 02:23:04 +00:00
mark 75b044ab61 Prefix the SPL macros to avoid clashes with userland macros (e.g. ipf). 1998-01-20 01:18:18 +00:00
mark 6924ceb598 Declare arm8_clock_config() to return an int rather than void. 1998-01-19 23:51:01 +00:00
mark 56bac34cae Declare a prototype for arm8_clock_config(). 1998-01-18 03:43:46 +00:00
thorpej b9f1b716f3 Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej a6f228e498 Make pmap_activate() take a struct proc *. 1998-01-02 22:36:33 +00:00
kleink 66c2794142 Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
cleanup
1997-11-23 20:20:53 +00:00
thorpej 0b04d28454 Mark uses of long long with /* LONGLONG */ for lint. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej fdcd077928 asm -> __asm__ 1997-11-05 00:34:15 +00:00
thorpej 4730a8cbec Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
  supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
  by the way it's used).

The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.)  The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00