Commit Graph

115755 Commits

Author SHA1 Message Date
eeh
c07f47e182 The firmware actually passes the info block pointer in the link register. 2003-08-03 23:28:45 +00:00
eeh
f77f1feee5 Use %r<n> for register names. 2003-08-03 23:26:55 +00:00
nathanw
9cf81bef79 Bunch of changes to make the Palm Tungsten T work:
* Mark the actual Handspring Visor as type "VISOR" and all others
  "PALM4" (notably, the Sony Clie 41 changes from Visor-type to
  Palm4-type).

* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
  query instead of the GET_CONNECTION_INFORMATION query, and interpret
  the returned data structure appropriately. This permits attaching a
  ucom device to newer devices such as the Tungsten T that do not
  support the Visor-style query (data structure definition gleaned
  from the Linux 2.4.21 visor.c).

* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
  the Palm device and the USB host controller deadlock. The USB host
  controller is expecting an early-end-of-transmission packet with 0
  data, and the Palm doesn't send one because it's already
  communicated the amount of data it's going to send in a header
  (which ucom/uvisor are oblivious to). This is the problem that has
  been known on the pilot-link lists as the "[Free]BSD USB problem",
  but not understood.

  XXX It would be better for the Palm protocol to be handled entirely
  in userland via ugen, since the serial protocol abstraction isn't
  really adequate for the amount of structure that's here, and the
  64-byte limit is just a workaround. The pilot-link tools aren't up
  to the task yet, though.
2003-08-03 21:59:26 +00:00
matt
777589be9a Add each register in trapframe, switchframe, and faultbuf. 2003-08-03 21:40:13 +00:00
matt
e3e80aa5d7 Add PPC_OEA64 and netbsd32_sigcode.S 2003-08-03 21:38:08 +00:00
matt
618c78b771 Don't use stmw. Do each store individually. 2003-08-03 21:27:49 +00:00
matt
42382e46c4 Add CPUSAVE_* and each register in the saveframe and faultbuf. 2003-08-03 21:26:27 +00:00
provos
ccc5fba3de Implement -iname for case insensitive matching on file names.
From freebsd/openbsd.  Approved by jaromir@, manu@, perry@.
2003-08-03 19:46:03 +00:00
he
69f1e70775 On second thought, callout_stop() should not clear the INVOKING flag. 2003-08-03 19:14:59 +00:00
jdolecek
d2041674e6 tweioctl(): store the result of twe_param_get() directly to the right
variable rather than using (void *) temporary
should fix strict aliasing warning of gcc 3.3
2003-08-03 18:45:46 +00:00
pk
09f1c82201 Make life slightly easier for the compiler's optimisation routines. 2003-08-03 18:20:53 +00:00
bouyer
feddcdfa5d For LBA drives, compute the number of cylinders from the drive capacity
in the default disklabel and the boot message, instead of using the
value reported by the drive (which is 16383 if the drive is larger than 8G).
Should fix PR 9864
2003-08-03 17:53:04 +00:00
jdolecek
fad5af1f3b add -DHAS_ISBLANK to CPPFLAGS, so that current nawk would use our isblank(3)
instead of it's own; pointed out by Stefan Kruger in private e-mail

add rules to install the gawk info file too; it's useful to have installed,
and allows nawk to be drop-in replacement without need to adjust file lists
2003-08-03 17:19:45 +00:00
tron
ce7972a7a1 Add EPSON Perfection 1260, 1660 and 2400 to list of support scanners. 2003-08-03 15:25:48 +00:00
jmcneill
339f87dc7f Document options ESA_NUM_VOICES, and update my email address. 2003-08-03 15:13:57 +00:00
bsh
18fca6b097 an arg of s3c2800_clk_freq() has been changed to match with
s3c24x0_clk_freq().
2003-08-03 14:11:16 +00:00
jdolecek
ecb9302c7f if kvm_nlist() fails, nlisterr() would be called before the screen
curses context would be initialized; just use errx() instead in this case
this fixes coredump for cases like 'systat -N /netbsd.gz', reported by Walt
on port-i386

in nlisterr(), wait a while (5 seconds currently) before exiting, so that
it would be actually possible to actually see the error
2003-08-03 12:14:58 +00:00
jdolecek
37870ec770 mark nlisterr() as 'noreturn' 2003-08-03 11:56:57 +00:00
lukem
64b5a0fe7b Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files.  INCSYMLINKS are installed with
'make includes'.  This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
kochi
645984364d Workaround for AcpiOsGetThreadId: can be called with curlwp == NULL 2003-08-03 08:19:58 +00:00
kochi
28e9389fdb Fix a wrong handling of clearing a flag 2003-08-03 08:16:07 +00:00
itojun
2e48312004 be more pedantic to strlcpy/strcat errors 2003-08-03 04:35:50 +00:00
itojun
785d6ef678 use strlcat for safety 2003-08-03 04:14:00 +00:00
itojun
d6220d9ca5 fix off-by-one error in realpath() 2003-08-03 04:12:01 +00:00
christos
ec3e43edf4 appease gcc-3 by adding ULL to constants that do not fit in longs 2003-08-03 03:49:29 +00:00
uwe
85fb38b211 When passing &buffers to uvm_map, add a cast to (void *). Without it,
gcc3 with -O2 produces "dereferencing type-punned pointer will break
strict-aliasing rules" warning.
2003-08-03 00:01:44 +00:00
jdolecek
f622478626 Update nawk entry 2003-08-02 22:43:00 +00:00
jdolecek
19de07894e Merge nawk version 20030729 changes, and resolve conflicts. 2003-08-02 22:41:59 +00:00
uwe
2b2ae88a13 Move the definition of enum hd64461video_display_mode out of the
definition of struct hd64461video_chip.  Makes gcc3 happy.
2003-08-02 22:39:13 +00:00
uwe
f49836bca3 Add "break" to the empty "default" case.
Makes gcc3 happy.
2003-08-02 22:33:36 +00:00
jdolecek
4ea2a427d1 Import nawk as of 2003/07/29
Changes:
* internationalization improvements
* [:digit:] addition
* some bugfixes
2003-08-02 22:21:23 +00:00
uwe
9d1ca6d8d9 Do not ##-concatenate identifiers with parens.
Makes gcc3 preprocessor happy.
2003-08-02 22:14:13 +00:00
jdolecek
efa825c4d5 apparently amd64 (aka x86_64) is compilable and works fine, remove
from list of ports which need to be compile-tested
2003-08-02 20:34:26 +00:00
jdolecek
d6ade97eb9 use copyout() instead of subyte() 2003-08-02 20:23:48 +00:00
jdolecek
e0fe42681d use copyin()/copyout() instead of fubyte()/subyte()
also nuke uvm_useracc() check, copyin()/copyout() do this atomically

XXX only compile-tested
2003-08-02 19:51:23 +00:00
matt
dd1c661661 Nuke stmreg/ldmreg. PPC64 doesn't have a lmd/stmd so make sure lmw/stmw
don't invoke valid instructions on PPC64.
2003-08-02 19:40:39 +00:00
matt
c9d56ac39d Add symbolic offsets for what's in cpu save locations.
Add a PPC64 variant of mftb
2003-08-02 19:35:26 +00:00
jdolecek
16b74086ed replace fuword() with copyin(), and suword() with copyout() 2003-08-02 19:21:48 +00:00
matt
2f71595941 Make this compile with gcc3. Change kernel_pmap_store to array of struct
pmap instead of array u_long.  A bit of space is wasted but it supresses
the -Wcast-align warning.
2003-08-02 19:10:04 +00:00
lukem
61be5790f1 Un-obsolete kerberosIV/des.h, and make it a symlink to ../des.h.
It can't be obsoleted because that causes builds with an old
${DESTDIR}/usr/include/kerberosIV/des.h to fail in directories which
have CPPFLAGS+=-I${DESTDIR}/usr/include/kerberosIV so that their #include
of <krb.h> works (and any subsequent #include <foo.h> by <krb.h>).
(Note: gcc3 won't work with a hack such as prepending -I${DESTDIR}/usr/include
before -I${DESTDIR}/usr/include/kerberosIV.)

Affected directories include lib/libkafs, and any thirdparty source
which used a similar -I/usr/include/kerberosIV hack to use <krb.h>.
2003-08-02 18:49:10 +00:00
matt
4e5cf29ef5 Add new files for gcc3 from native-gcc build. (alpha distribution builds
now successfully build).
2003-08-02 18:47:40 +00:00
bjh21
47a6970dac Put boot32,ffa into the release tree so people can use it for booting ramdisk
kernels.
2003-08-02 18:02:36 +00:00
bjh21
aebe480082 Add boot32 bits. 2003-08-02 17:59:04 +00:00
bjh21
6407c43a48 Descend into stand so boot32 gets built. 2003-08-02 17:57:35 +00:00
provos
ab6fc8a1fd fixed contrived race condition during attachment; from marius@monkey.org 2003-08-02 14:45:08 +00:00
provos
037feaaf20 avoid warning due to name collision. 2003-08-02 14:34:35 +00:00
provos
2e1af85ab0 normalize CWD for cases where CWD has a symlink in it. should solve
problems where CWD policies would not match.
2003-08-02 14:31:10 +00:00
provos
08ab84f25d introduce normalize filename function. 2003-08-02 14:29:33 +00:00
provos
43914d5f2f change CWD handling. CWD is fixed to the CWD of the systrace process. 2003-08-02 14:24:30 +00:00
drochner
9c0942bc88 sync comments with reality 2003-08-02 14:12:51 +00:00