Commit Graph

99384 Commits

Author SHA1 Message Date
gmcgarry 4b0692e70a Don't invoke MachFPInterrupt() if we're using SOFTFLOAT. 2002-07-07 00:22:18 +00:00
gmcgarry cc4037a913 Overhaul the emulation facility. We do this by:
- accumulating all emulation code (including floating-point) in one place
- steal MachFPInterrupt() back from SOFTFLOAT for use only with interrupts
  and traps from *real* FPUs
- introducing MachEmulateInst() as a common dispatch point for all
  emulated instructions
- cleaning up emulation dispatch in trap()

Also, while we're here, implement MIPS2 LL/SC/SYNC emulation for MIPS1.

Tested on r3k with and without SOFTFLOAT enabled.
2002-07-06 23:59:18 +00:00
gmcgarry de0c9630a1 Fix console bell. 2002-07-06 23:15:29 +00:00
wiz 0fb8fdab47 ANSIfy, remove __P(). 2002-07-06 22:08:30 +00:00
wiz 557fe0a8de ANSIfy and de-__P() a bit more. 2002-07-06 22:01:40 +00:00
wiz 8fb60bde2d Remove unused files (cf. timed{,c}/timed{,c}-extern.h). 2002-07-06 21:59:26 +00:00
wiz b73d58cd80 Remove __P(). 2002-07-06 21:52:05 +00:00
wiz 56b7e3b326 Remove some unnecessary cruft. 2002-07-06 21:51:49 +00:00
wiz f718edfc2a unifdef __STDC__ 2002-07-06 21:46:59 +00:00
wiz 7146bf3ca6 ANSIfy, remove __P(), unifdef __STDC__. 2002-07-06 21:44:40 +00:00
wiz 5c90fa6755 ANSIfy, remove __P(). 2002-07-06 21:30:26 +00:00
itojun c6f53f281c correct tcp header chasing in pp_fastq processing. should fix kern/17491. 2002-07-06 18:33:45 +00:00
itojun 93b1b1c2c9 avoid trigraph. From: Matt Fredette <fredette@theory.lcs.mit.edu> 2002-07-06 18:21:43 +00:00
fredette 1c928c08b2 Removed ftpwelcome from BIN1; it was removed. 2002-07-06 18:19:31 +00:00
matt 263c3cd253 Merge macppc/ofppc locore OFW code and move it here. 2002-07-06 18:01:23 +00:00
matt 51f2834470 Bump max user address to 0xfffff000 (XXX maybe it should be -NBPG?). 2002-07-06 17:15:57 +00:00
fredette be87bf4822 Fixed the options KDGB_DEVNAME, for recent changes to config(8). 2002-07-06 15:41:38 +00:00
fredette 10d4232908 Fixed a printf argument type. 2002-07-06 15:39:07 +00:00
itohy 8f0b7653ca a.out prologue / epilogue (from in-tree egcs) 2002-07-06 13:20:08 +00:00
itohy b2f2b1cb44 Correct section / alignment rule for a.out. From in-tree egcs. 2002-07-06 13:19:00 +00:00
itohy bd6a4107d8 i386 uses _GLOBAL_OFFSET_TABLE_, not __GLOBAL_OFFSET_TABLE_, for GOT symbol
even if on a.out compiler.
Yes this is weird, but it is the traditional behavior.
2002-07-06 13:17:18 +00:00
fvdl 7cc42e6abb Move struct savefpu outside ifdef _KERNEL for the benefit of userland
code that includes <machine/pcb.h>
2002-07-06 10:43:32 +00:00
fvdl 405b1a8bb6 Add mtrr.c 2002-07-06 10:23:06 +00:00
fvdl f80efcf37c Enable building libx86_64 2002-07-06 10:19:08 +00:00
tron fbf97bb599 Remove unused user and group "news" as discussed on "tech-userlevel". 2002-07-06 09:27:31 +00:00
tv e248b10f59 Remove empty "ftpwelcome" entirely. This makes ftpd emit a two-line
extended greeting, which confuses lots of established firewalls.
(Not added to "obsolete" since removing this file is not mandatory.)
2002-07-06 04:24:08 +00:00
yamt cd7f302646 s/resolved_name/resolvedname/g
s/resolved_path/resolvedname/g
2002-07-06 02:46:41 +00:00
perseant eaa565b571 Changed size of struct inode; bump version to 1.6D. 2002-07-06 01:31:32 +00:00
perseant 32ae84b188 Deal with fragment size changes better. For each fragment that can
exist on an on-disk inode, we keep a record of its size in struct inode,
which is updated when we write the block to disk.  The cleaner routines
thus have ready access to what size is the correct size for this block,
on disk.

Fixed a related bug: if a file with fragments is being cleaned
(fragments being cleaned) at the same time it is being extended beyond
NDADDR blocks, we could write a bogus FINFO record that has a frag in the
middle; when it was cleaned this would give back bogus file data.  Don't
write the indirect blocks in this case, since there is no need.

lfs_fragextend and lfs_truncate no longer require the seglock, but instead
take a shared lock, which the seglock locks exclusively.
2002-07-06 01:30:11 +00:00
wiz 3a0b8f6e80 de-__P(), ANSIfy. 2002-07-06 01:00:15 +00:00
wiz 559abfe369 de__P(), ANSIfy. 2002-07-06 00:56:32 +00:00
wiz d532b687e7 de-__P(), ANSIfy. 2002-07-06 00:55:29 +00:00
wiz cfa755ae92 de__P, ANSIfy. 2002-07-06 00:53:54 +00:00
wiz 5250421372 de-__P(), ANSIfy. 2002-07-06 00:47:55 +00:00
wiz 8891dbdc2d ANSIfy, de-__P(), and remove unused SIG_PF define. 2002-07-06 00:46:12 +00:00
wiz 15badb287b ANSIfy (overlooked some...) 2002-07-06 00:42:27 +00:00
wiz 1de018550a Actually, SIG_PF isn't needed in this file at all -- remove it. 2002-07-06 00:31:07 +00:00
wiz af4c38b82e Use .Aq instead of \*[Lt]...\*[Gt] in two places. End sentence with a dot. 2002-07-06 00:21:14 +00:00
wiz ce6c985b9d De-__P(), ANSIfy the one function that wasn't, and unifdef __STDC__. 2002-07-06 00:18:48 +00:00
gmcgarry 44e6549da3 Invert test of EPASSTHROUGH. Problem reported by
Bernd Sieker <bsieker@freenet.de>.
2002-07-05 23:43:28 +00:00
matt 685778b53b Peform a rototill over the powerpc-based ports.
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-07-05 18:45:15 +00:00
mason bcf83ebf70 fix typo 2002-07-05 18:33:20 +00:00
fvdl 8b6c180747 Previous commit left a piece of old code in that would leak top-level
PTPs; remove it.
2002-07-05 16:52:39 +00:00
itojun 7bc4971b7c space at EOL 2002-07-05 15:49:11 +00:00
itojun 015b8e640f WARNS=2 clean 2002-07-05 15:47:43 +00:00
itojun d87c9ab19e $NetBSD$ and copyright boilerplate 2002-07-05 15:46:21 +00:00
itojun 0e227d8095 regress test for getaddrinfo/getnameinfo. 2002-07-05 15:42:41 +00:00
tsutsui 0fe49daba1 Add keydescs for swapctrlcaps, and clean up formating. 2002-07-05 14:29:06 +00:00
enami c7d782764a Add an entry for Avlab Technology, Inc. Low Profile PCI 4 Serial (in Japan,
sold by Kuroutoshikou as SERIAL4P-LPPCI.)
2002-07-05 14:10:32 +00:00
scw 8324df7cf0 Sync the ktrsyscall() arguments with -current reality. 2002-07-05 14:05:58 +00:00