Commit Graph

52139 Commits

Author SHA1 Message Date
manu
daf979dbeb Added symlink, rename and readlink 2001-12-27 11:07:23 +00:00
dbj
1b65d8fd30 fix single stepping and continuing from breakpoints in ddb 2001-12-27 10:32:23 +00:00
dbj
2bea447d60 sync the instruction cache even when only writing 2 or 4 bytes 2001-12-27 10:25:41 +00:00
manu
a965f74abe getpgid implemented 2001-12-27 09:31:09 +00:00
shin
606f00a905 split VCED and VCEI. 2001-12-27 04:19:17 +00:00
shin
d00d2e4bcb simplify VCED processing.
just write back and invalidate secondary cache line and fetch data again.
2001-12-27 04:03:37 +00:00
ad
281fb6d209 In clalloc(), clear the quoted char bitmap (part of the ring buffer was
being cleared twice).
2001-12-27 02:27:50 +00:00
wiz
5514d0b117 bcopy/bcmp/bzero -> memcpy/memcmp/memset 2001-12-27 02:23:24 +00:00
fvdl
d0f7c6fb96 Use softdep_change_linkcnt to note that the inode mode was set to 0.
From FreeBSD.
2001-12-27 01:48:38 +00:00
fvdl
c9218f8686 The softdep code sometimes use vfs_vget .. vput. For removals, these
would result in a vop_inactive call for the vnode each time, resulting
in vinvalbuf->fsync. The original softdep code avoided the fsync
in vinvalbuf by not calling it if there were no dirty blocks. This
was changed in NetBSD. Also, flush_inodedeps was changed to mark
the inode as modified so that it would do an inode update and flush the
last one. This combination basically caused a sync write for each removed
file in an rm -rf (showing up delayed from the syncer a lot of the time).

If called from vinvalbuf (FSYNC_RECLAIM), and there were no dirty blocks
or pages to begin with, still do everything as normal, so that possible dirty
blocks in transit to disk are properly waited for, etc, but don't pass
UPDATE_WAIT to VOP_UPDATE, since there is no need for it in that case.
2001-12-27 01:44:59 +00:00
fvdl
2b5fe12a98 Pull over one missed fix from FreeBSD wrt. running out of quota. Also
reshuffle some code a bit to make it look more similar (no functional
change).
2001-12-27 01:29:05 +00:00
thorpej
1ab1192459 Makefile for x86_64 includes and boot blocks. 2001-12-27 00:43:25 +00:00
shin
1bac15cba5 we need ffs(). 2001-12-27 00:10:39 +00:00
shin
6870c1d462 don't use .abicalls in kernel. 2001-12-27 00:09:59 +00:00
shin
e509d7712d copy from libc/arch/mips/string 2001-12-27 00:08:19 +00:00
manu
2faf78e180 Reworked irix_syssgi_mapelf. It now uses elf_load_psection, and this
remove the odd bug which caused INSANE_DEBUG_IRIX to be mandatory in
order to avoid a panic when mapping libraries.
2001-12-26 22:18:25 +00:00
thorpej
86a77080a5 Remove (incorrect) extern decl of emul_hpux. 2001-12-26 19:08:11 +00:00
thorpej
232c19df9d A statement must follow a label. 2001-12-26 19:00:31 +00:00
thorpej
63d3d9fe5a Multi-line string literals are not in ANSI C; don't use them. 2001-12-26 17:37:59 +00:00
minoura
e36ba40641 Backout previous.
It was a garbage; atatat already commited the fix in another way.
2001-12-26 14:40:20 +00:00
manu
945d746288 integrated a copy of svr4_waitsys(), which should be merged later.
This has not been fully tested, but it makes IRIX's /bin/sh able to survive
running an external command such as ls.
2001-12-26 11:04:20 +00:00
augustss
996d5c6c26 Be a little more paranoid. 2001-12-26 10:56:58 +00:00
manu
aeeecdfad1 Updated copyright (getdents code is from Christos, written in 1994) 2001-12-26 10:54:56 +00:00
cjs
80c0f36acc Re-make these after usbdevs update. 2001-12-26 07:18:36 +00:00
cjs
2d1b70cd08 Add ID for memory stick slot in Sony Clie running PalmOS 4.0. This may also
be the same for the PalmOS 3.5 versions, but I can't test that.
2001-12-26 04:32:39 +00:00
ross
71c3eef663 include systm.h (for libkern.h (for ffs())) 2001-12-26 00:38:37 +00:00
manu
9423df444f Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-25 21:32:30 +00:00
manu
ae9b01a907 Added getcontext/setcontext. This has not been fully tested, but it seems to
work enough for binaries that use it (eg: telnet).
Problems:
- what should we do with uc_filler?
- how to handle FP regs?
2001-12-25 19:04:18 +00:00
someya
09638d7a55 add 600 times dummy read from codec for YMF744 (revision < 2). 2001-12-25 16:55:50 +00:00
manu
0d7961013d Added irix_sys_lseek64() 2001-12-25 16:40:48 +00:00
christos
70e238a1bc PR/15049: Katsuomi Hamajima: fix memset re-definition. 2001-12-25 14:03:15 +00:00
jmcneill
ff0249d84d Fix block position calculation in esl_intr. 2001-12-25 04:05:34 +00:00
jmcneill
b0df9e12af The check for AUMODE_PLAY in esl_set_params was breaking some applications.
Remove it.
2001-12-25 03:47:46 +00:00
jmcneill
a89f9c462b 'nintr' from esl_softc was never used -- remove it 2001-12-25 03:46:34 +00:00
jmcneill
c4669fd0d0 Fixes output at 44kHz, 16-bit, stereo. Thanks to Charles Hannum and
Lennart Augustsson for providing proper fixes.
2001-12-25 02:37:39 +00:00
augustss
0228f218d3 Add UISDATA_DEBUG. 2001-12-24 21:37:52 +00:00
augustss
213baeaad6 Use the new USB_PRODUCT_ANY match. 2001-12-24 21:36:54 +00:00
augustss
bfc3660fb1 Add some more DIAGNOSTIC tests.
Make usb_match_device() match on USB_PRODUCT_ANY.
2001-12-24 21:36:15 +00:00
augustss
c33e730dd9 Get rid of the transfer_speed nonsense to calculate the timeout.
We get passed a timeout from the upper layer which is what matters.
2001-12-24 19:24:33 +00:00
chs
ed160d6aac make this compile again after -ffreestanding. 2001-12-24 18:20:50 +00:00
chs
c356097d58 use ELF instead of a.out symbols now. 2001-12-24 17:57:19 +00:00
chs
e5b36c6564 typo in last. 2001-12-24 17:56:59 +00:00
chs
c5fffebac0 needed for ELF, just include the m68k common header. 2001-12-24 17:56:31 +00:00
dbj
d91a86f994 revert revision 1.13
this turns single stepping back off since it doesn't correctly work
note that without single stepping, several things do not work as
expected, including continuing from interrupts
2001-12-24 16:57:40 +00:00
augustss
a6727606ec Add (commented out) wd at umass (for ISD adapters). 2001-12-24 13:47:13 +00:00
augustss
ab7b323efa Add a preliminary version of a driver for In-System Designs non-standard
ATA-over-BulkOnly protocol.  The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss
45fc7e27e9 Regen. 2001-12-24 13:40:50 +00:00
augustss
0d60061a8b Add some more In-System based adapters. 2001-12-24 13:40:31 +00:00
augustss
56b5867371 Make the separation between wire protocol (umass.c) and command protocol
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
jdolecek
e71e5045dc Back off rev. 1.21, this is going to be handled via userland keymap file.
Discussed with Martin Husemann.
2001-12-24 12:39:55 +00:00