Commit Graph

114 Commits

Author SHA1 Message Date
uch
78af56fcfd move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to
machine/vmparam.h
2001-02-07 14:53:09 +00:00
uch
6a7b420b7e move machine-port specific file to machine directory.
for evbsh3, mmeye and dreamcast, use MI md_root.c
2001-02-06 16:45:19 +00:00
thorpej
40c4d1e0c3 Rename the CLI/STI/ECLI/ESTI macros to more descriptive names,
and add comments to describe exactly what they do (because it's
not totally obvious at a glance, due to the number juggling necessary
to frob the correct bits in SR):

CLI -> EXCEPT_DISABLE (sets SR.BL)
STI -> EXCEPT_ENABLE (clears SR.BL)

ECLI -> INTR_DISABLE (sets SR.I[0-3])
ESTI -> INTR_ENABLE (clears SR.I[0-3])
2001-02-05 18:14:42 +00:00
uch
cd5dc32000 add SH3 CCR register address define. 2001-02-05 16:51:16 +00:00
msaitoh
e0b71cc821 fix last commit. 2001-01-30 03:01:45 +00:00
msaitoh
e094a52b1f fix pmap_* arguments when SH4_PCMCIA is defined. 2001-01-30 02:39:57 +00:00
msaitoh
69ababe7ba more use _C_LABEL() 2001-01-30 01:32:56 +00:00
msaitoh
14bda6deb9 use macro for CCR register 2001-01-29 22:19:19 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
itojun
1efb35296f do not include mmeye.h 2001-01-16 23:57:21 +00:00
itojun
a1c683863b remove evbsh3/mmeye.h. it shouldn't be necessary, or at least it has to
be renamed to something better.
XXX dreamcast/mmeye.h
2001-01-16 17:36:02 +00:00
itojun
85b6e2618d typo 2001-01-16 17:13:28 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
itojun
1e7e3274f4 split MACHINE_ARCH sh3e[lb]. userland build still needs checking. 2001-01-04 07:03:21 +00:00
itojun
f5f5aac99a look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
makes the file bi-endian.
2001-01-04 00:51:15 +00:00
itojun
16b3064038 split big/little endian better. 2001-01-03 23:49:21 +00:00
itojun
1d25215235 $NetBSD$ 2001-01-03 18:15:47 +00:00
itojun
10e1d3091a share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
itojun
f66249f478 dreamcast went to sys/arch/dreamcast 2001-01-03 17:59:02 +00:00
jdolecek
cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
msaitoh
5cb13a674a add shpcmcia_mem*() for SH4_PCMCIA 2000-11-08 01:01:22 +00:00
msaitoh
d191cbf210 add interrupt mode into wdog
To use:

	ioctl(fd, SIOWDOGSETMODE, &val)

	val:	WDOGM_RESET	-> reset when counter expired
		WDOGM_INTR	-> print PC when counter expired (new!)

This interface is still under experimental.
2000-10-31 02:04:12 +00:00
msaitoh
ec7e30e271 fix compile problem on SH3 (from Atsushi Noda) 2000-10-31 01:18:02 +00:00
msaitoh
c258b5a193 delete PMAP_NEW 2000-10-17 09:59:29 +00:00
msaitoh
3c5d2c7fac avoid SH7709A's serious bug (it fails to read IPR* registers under particular
circumstances)
2000-09-29 08:08:37 +00:00
msaitoh
f487c6c12e check whether both COMPUTEXEVB and SH7709A is defined to access special
register.
2000-09-26 22:23:55 +00:00
msaitoh
7c1b5c5599 fix SDMR settings:
- s/BSC_SDMR_VAL/BSC_SDMR3_VAL/
 - add options COMPUTEXEVB
2000-09-26 22:20:03 +00:00
jdolecek
b1f94e26ab don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +00:00
tsubai
9fdd44d404 DDB single step and stack trace support. 2000-09-08 10:15:23 +00:00
msaitoh
85c00d0fed refer MMUCR_VALIDBITS from mmureg.h 2000-09-04 05:50:45 +00:00
tsubai
f286397ff1 Scheduler locking changes. 2000-08-30 18:41:16 +00:00
msaitoh
4a9013cf38 add code to mask mmucr register (SH4 only)
I'm sorry, I'd forgotten to commit it for a long time.
2000-08-17 13:13:28 +00:00
msaitoh
a8fe4a6776 check INTEVT_SCIF (SH4 only)
I'm sorry, I'd forgotten to commit it for a long time.
2000-08-17 13:07:51 +00:00
msaitoh
4c0e0bb61c - enable KERNFS and PROCFS
- disable NULLFS and UMAPFS
2000-08-12 06:59:01 +00:00
msaitoh
7803e30fde - remove "options PMAP_NEW"
- enable "options INET"
 - enable "pseudo-device loop"
2000-08-12 06:53:37 +00:00
msaitoh
7e0d8cf541 hide InitializeBSD if DONT_INIT_BSC is defined 2000-08-11 15:11:22 +00:00
msaitoh
18f2e17644 fix the first (temporary) kernel stack address
from	IOM_RAM_BEGIN + 0x003ff000
	to	IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
2000-08-11 14:51:08 +00:00
msaitoh
468e8d8cef unused file (use 'makeoptions LDSCRIPBASE="shl.x"' for little endian) 2000-08-08 05:24:28 +00:00
msaitoh
ac06675f56 add COMPAT_14 2000-08-03 11:30:30 +00:00
msaitoh
9b50348e47 set internal register correctly (SH4) 2000-08-03 08:19:26 +00:00
msaitoh
9c331f1f89 use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file 2000-07-31 20:57:45 +00:00
msaitoh
1fa850b0ef config file for Dreamcast 2000-07-13 18:11:53 +00:00
msaitoh
e633c4ca18 don't initialize BSC when BSC is already initialized (e.g. Dreamcast) 2000-07-13 18:02:10 +00:00
msaitoh
dc6054c8b0 add OBJCOPY?=objcopy 2000-07-11 18:47:09 +00:00
cgd
a5c13f9ad4 Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
itojun
d738f90fd7 raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
mrg
7bf55b1ed1 remove include of <vm/vm.h>. 2000-06-29 08:19:21 +00:00
kleink
e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00