Commit Graph

714 Commits

Author SHA1 Message Date
itohy a9cd6b907b Performance hack.
Mainly for the Neptune-X Ethernet adaptor,
and improves ftp(1) speed by ~10%.

	get: 219 KB/s -> 246 KB/s
	put: 226 KB/s -> 247 KB/s
	(X68030, MC68030 25MHz)
2001-01-29 01:09:29 +00:00
minoura 42c425801b Use IOCS_S_READEXT only when reading the partition boot from
higher part of the disk than 0x200000.
2001-01-26 17:30:15 +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
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
itohy f3590c636b Make it compile with "options DIAGNOSTIC" (patch from minoura). 2001-01-15 07:04:41 +00:00
martin a261276f16 The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
thorpej a3ec356d52 splimp() -> splvm() 2001-01-14 03:22:04 +00:00
thorpej d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
minoura b2bcd7ceb9 Use MI clock_subr.c. 2001-01-11 16:09:42 +00:00
minoura 9caeb5a28b isinram() argument is not a virtual address but a physical address. 2001-01-11 14:24:04 +00:00
minoura 0ef9589af4 X68k's physical RAM is not at lowram-0xffffffff, but has multiple segments. 2001-01-11 14:00:11 +00:00
minoura 8829b4cc1a Sync. w/ luna68k; eliminate irrelavant code imposed by
the restriction of hp300 hardware and HP-UX compatibility.
2001-01-11 13:18:36 +00:00
minoura 950e1bd9b8 Eliminate EIOMAPSIZE. 2001-01-11 10:40:55 +00:00
minoura 77f3a6ab78 G/C. 2001-01-11 10:36:46 +00:00
martin 5d0c67c603 When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
minoura 8a3a316883 Do not range_test() unless DIAGNOSTIC.
Suggested by Tetsuya Isaki <isaki@v6.ipc.hiroshima-u.ac.jp>.
2001-01-09 11:38:32 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
martin f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
minoura cd4d6511c8 Correct `Year 2001 problem'.
Pointed out by Okamoto Kohichi <GHG03305@nifty.ne.jp> and
URA Hiroshi <ura@hiru.aoba.yokohama.jp>.
2001-01-04 06:45:18 +00:00
minoura 9132306dbc CMACHFLAGS defaults to -m68020-60.
Can be overridden in config files; add examples.
2000-12-29 15:18:37 +00:00
jdolecek de31133f1d split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

XXX I wish m68k ports would share trap.c
2000-12-23 09:35:51 +00:00
scw 4350a7f2b7 Unification of the m68k syscall() function. 2000-12-19 21:09:54 +00:00
bouyer c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
minoura 6f08eabd1f %reg -> %%reg in asm() directive. 2000-12-18 02:46:49 +00:00
jdolecek cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
itohy cf27186531 Remove empty lines from cpp output since make doesn't seem to like them. 2000-12-15 07:16:36 +00:00
jdolecek ca57e681bd g/c obsolete vtrace(2) stuff 2000-12-13 18:13:05 +00:00
itohy c8ca4dd604 Add register prefix in asm() directives. 2000-12-08 03:00:05 +00:00
itohy 5d2d4230c8 Fix asm() directive. 2000-12-08 02:59:38 +00:00
itohy c2245838be 1. Add register prefix.
2. movb #0x01,0x01800003@ -> movb #0x01,0x01800003 (found by tsutsui).
2000-12-08 02:59:12 +00:00
tsutsui a8fdbdec1c Remove unused pcbb() macro. 2000-12-01 17:57:43 +00:00
minoura 0bbc767215 Adjust the ramdisk size. 2000-11-29 14:45:27 +00:00
minoura 2eabb2676b We do not use INSTALL_SMALL any more. 2000-11-28 03:18:18 +00:00
soren 66864e1f05 Removed increased BUFCACHE/BUFPAGES. 2000-11-27 08:55:41 +00:00
jdolecek 17a9fd0da5 split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate
2000-11-26 11:47:23 +00:00
minoura 9f9181afde Use objcopy instead of dd. This will work after we'll switch to ELF.
Using command directly breaks cross compilation.  Use macro instead.
2000-11-25 05:27:19 +00:00
minoura e6a960146a Use MI md_root.c. 2000-11-24 06:55:22 +00:00
tsutsui 161004f8c3 s/struct const sysent/const struct sysent/
(BTW, luna68k was missed in emul/execsw changes?)
2000-11-21 23:19:42 +00:00
tsutsui 2c7e91a09e Define proper macros for FP frame offsets rather than magic numbers. 2000-11-21 13:54:13 +00:00
jdolecek baae0324b9 restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
  provide single struct emul per emulation
* elf:
  - kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
    per emulation and contains pointer to respective probe function
  - interp is allocated via MALLOC() rather than on stack
  - elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
  to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
  emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
  part of appropriate execsw[] entry
* constify couple of structures
2000-11-21 00:37:49 +00:00
chs c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
thorpej eff2f3d04f We use 4K pages on the x86k. Make PAGE_SIZE and friends into
compile-time constants.
2000-11-14 19:47:25 +00:00
minoura 21e684b743 New line discipline. 2000-11-13 15:20:28 +00:00
minoura fd524293aa Look at opt_m680x0.h to determine whether to use -m68060 compiler option,
since options M68060 (etc.) is now defopt'ed.
Pointed out by NISHIMURA Takeshi <nsmrtks@comd.nara.sharp.co.jp>.
Use -m68020-60 instead of -m68060 to ensure not to use new instructions.
2000-11-13 14:47:14 +00:00
eeh 8c3f6a0d10 Adapt to new line discipline scheme. 2000-11-02 00:37:56 +00:00
minoura aa8045ce9c Use up-to-date (newly installed) header files when DESTDIR is set. 2000-10-19 16:17:41 +00:00
itojun 9e47af8814 enable rnd device. they are now mandatory for ssh/sshd support,
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
2000-10-04 03:35:53 +00:00
abs 2824f4906d Ensure all INSTALL* kernels have two ptys, and a note explaining why:
pseudo-device  pty             2       # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00
itohy c2672f184b Fix the type of pmap_zero_page_uncached from void (paddr_t) to
boolean_t (paddr_t) to make it compile again.
2000-09-28 03:41:50 +00:00