Commit Graph

102011 Commits

Author SHA1 Message Date
thorpej 076280c9ac Re-add mktemp as a host tool; it is used in more places than Ben
thought.
2002-09-14 04:26:03 +00:00
sommerfeld af723a4db0 Use the output blocksize when computing how much room to leave for the
-s option, to suppress unnecessary leading spaces.
2002-09-14 04:25:55 +00:00
thorpej daf4d5c635 Fix some problems using makelintstub as a cross-tool:
* Require that the path to the C preprocessor be passed in the CPP
  environemnt variable, and use it rather than hard-coding "cpp".
  Provide the target's preprocessor when invoking makelintstub.
* Fix some quoting issues that turned up with Solaris 8's XPG4 sh and sed.
* Don't use echo -n.  Instead, don't bother making the output pretty; the
  whitespace isn't supposed to be syntactically significant anyhow.
2002-09-14 03:14:14 +00:00
mycroft cfedc10218 typo: PROC -> PROG 2002-09-14 02:00:25 +00:00
nathanw 23941bee81 Add the now-tested "autri* at pci?" audio device. Found onboard on the
Samsung UP1500.
2002-09-14 00:58:55 +00:00
martin cef25316c6 Following discussion on tech-kern, nuke calls to microtime() and use
mono_time instead. We loose some precision here (depending on hz),
so bump up the reset-mouse threshold quite a bit (from >=25ms to >40ms).
2002-09-13 23:39:05 +00:00
bjh21 82a564def5 Add __restrict to the set of tokens we #define away: our glob.h uses it. 2002-09-13 23:35:34 +00:00
thorpej 44390285d1 Update Solaris section (again). 2002-09-13 23:35:32 +00:00
thorpej c26422231a * Use /usr/bin/env to invoke the real interpreter. This allows us to
get the POSIX shell on more systems.
* Deal with a broken "pwd" on Solaris (suggested by Christos).
2002-09-13 23:27:13 +00:00
manu 100872541e fix touchpanel broken behavior:
- when moving the stylus, the cursor was updated only when the screen was
released
- when moving the stylus for too long, the kernel crashed

This was caused by improper delays in SSP read and write, and by interrupt
hammering while the screen is touched). Both led to the machine handling
interrupts all the time and been unable to schedule the X server, therefore
the lack of cursor refresh.

The problem is fixed by
- masking touchpanel interrupts as soon as we are already handling them
- creating a kernel thread (j720ssp) that takes care of keyboard and
touchpanel I/O, instead of doing it in a softintr.
- reducing delays in j720ssp_readwrite operations from 5ms to 0.1ms.

NB: If the delay in j720ssp_readwrite operation is lowered to 0.1, then
switching on the screen using the power key pushes brightness to maximum.
In order to avoid this, we introduce a wait argument to j720ssp_readwrite,
which specify how many microseconds we have to wait. j720ssp_readwrite is
called with wait = 100 everywhere except in j720lcdparam where it is called
with wait = 500. That way it works.
2002-09-13 22:44:58 +00:00
thorpej c7acd88451 Back out previous; I'll figure out another way. 2002-09-13 22:17:04 +00:00
mycroft a939a62069 config.[ch] -> manconf.[ch] 2002-09-13 20:40:04 +00:00
mycroft a95d62a38e In _rtld_bind_mips(), if the symbol is undefined, die. 2002-09-13 20:32:24 +00:00
mycroft 64513b2399 config.[ch] -> manconf.[ch] 2002-09-13 20:27:52 +00:00
mycroft c2fdc50a4d config.[ch] -> manconf.[ch] 2002-09-13 20:16:40 +00:00
thorpej 0cbefac8eb Be more conservative with quoting, to play nice with /bin/sh on Solaris 8. 2002-09-13 19:55:52 +00:00
mycroft 712b838f43 Kill the extra newline in assert messages. 2002-09-13 19:50:00 +00:00
mycroft cc2b1e9844 Add an explanatory comment. 2002-09-13 19:27:19 +00:00
thorpej f603ddfaad __RCSID is not a portable macro to be using in a host tool (which
these files are).  As a short-term work-around, only use it if it
is defined.  A better solution will be worked out with the Heimdal
folks later.

Fixes building these host tools on Solaris 8.
2002-09-13 19:09:00 +00:00
thorpej f54ca60093 * Always include the NetBSD glob(3) in libnbcompat, as the host
tools use some features of glob(3) that are not available on
  all systems.
* Always include the NetBSD vis(3) in libnbcompat, since vis(3)
  is not really standardized, and the vis(3) present on some systems
  is different from ours.
* Always include the NetBSD MD2, MD4, MD5, RMD160, and SHA1 implementations
  in libnbcompat.  The host tools use features of the NetBSD versions
  which aren't present on all systems that include those functions.
* Add a check for random(3) -- the Heimdal host tools want it.
* Add a check for termios.h -- the Heimdal host tools want it.
* Update the README to indicate the current state of building the
  host tools on Solaris 8 (for SPARC).
2002-09-13 19:07:01 +00:00
wiz 6e932790b0 Our X man page is in 7. 2002-09-13 19:04:53 +00:00
ad 3fad09211c Add entries for zx(4) manpage. 2002-09-13 19:00:14 +00:00
ad 6868161167 Add skeleton zx(4) manpage. 2002-09-13 18:59:43 +00:00
thorpej 7db1a04e8c Use /bin/test explicitly in one place, rather than [ or test (which
might be a shell built-in).  This allows this script to work otherwise
unchanged with Solaris 8's /bin/sh.
2002-09-13 18:36:01 +00:00
mycroft 654deed34e Allow the enable command if SMART is not enabled. Duh.
Also, just blindly allow the disable command.
2002-09-13 18:31:41 +00:00
thorpej 6d4ffa13e1 The config.h we get when building as a host tool is the libnbcompat
config.h, not the heimdal config.h, so -DKRB4=1 and -DKRB5=1 for
print_version.h.
2002-09-13 18:30:43 +00:00
mycroft e3db70741f Turn DEBUG back on by default. It doesn't take much space. 2002-09-13 18:28:58 +00:00
mycroft 129af72834 In the txsegsize bounding code, it is not necessary to adjust for the options
length.
2002-09-13 18:26:55 +00:00
thorpej 42321e369a Don't use MAX(); not all systems have it, and this is a host tool. 2002-09-13 18:07:52 +00:00
mycroft 60330f4a69 The sense of the SHN_ABS test has always been reversed. Fortunately nobody
ever tried to reference stuff like _DYNAMIC_LINK and _gp_disp in C code...
2002-09-13 17:36:00 +00:00
thorpej 01cfa6b3ec When being built as a host tool, the <config.h> we see is actually
the libnbcompat config.h, so -DKRB5=1 so that print_version.h actually
has a version in it.
2002-09-13 17:29:56 +00:00
tron 735b375648 Don't try to print negative offset in module structure. 2002-09-13 17:16:00 +00:00
mycroft 8f7fa0cfde Put back the lazy binding. For some bizarre reason, the linker occasionally
does not create a PLT entry for a symbol, so we test st_value!=0 to see
whether we can do a PLT fixup.
2002-09-13 17:07:12 +00:00
mycroft a8dd8878cf Er, turn off lazy binding for the moment. It doesn't seem to be fully working. 2002-09-13 16:54:14 +00:00
jdc c4cb51dc7d Correct the escape sequences for F1-F4 in our xterm entry.
Fixes PR 18272.
2002-09-13 16:40:02 +00:00
thorpej b6f409ee2e Pull in config.h when building has a host tool. 2002-09-13 16:34:56 +00:00
mycroft c1cf8538ec Simplify the GOT relocation code somewhat. 2002-09-13 16:31:28 +00:00
mycroft e8b2fe1d2a Actually do lazy binding on this platform. 2002-09-13 16:03:20 +00:00
thorpej 7c96dd1581 Rename man/config.{c,h} to man/manconf.{c,h}, so we don't have to
worry about problems including "config.h" when building as a host
tool.
2002-09-13 15:56:37 +00:00
atatat ba9dd2c172 Add verbose support to the -l output, tweak verbose support for -d
output, and tweak the man page (running pmap(1) vs. the kernel_map can
have a *very* visible effect).
2002-09-13 15:32:49 +00:00
gehenna b7c0e53f09 For loadable drivers, the 3rd argument is character device major and
the 4th argument is block device major.

Remove one item from BUGS section.
2002-09-13 15:32:21 +00:00
atatat 8c4b578bb7 Add new numbers, remove some stars, and mildly sort it so that it's
actually in numeric order.
2002-09-13 15:31:01 +00:00
gehenna a5ac3deb40 Split the overload block/character device major.
The 3rd argument is character device major and
the 4th argument is block device major.
2002-09-13 15:30:36 +00:00
thorpej 4b7235a207 bfd_vms is not a pointer type, so use 0 instead of NULL. 2002-09-13 15:29:08 +00:00
thorpej 68a6263e36 * Pull in config.h if building as a host tool.
* bfd_vma is not a pointer type, so use 0 instead of NULL.
2002-09-13 15:28:44 +00:00
mycroft 89a39bb54e The textrel special case is only needed for MIPS (due to a bug in BFD). 2002-09-13 15:27:30 +00:00
christos baa7f9f49e Minimize diffs with my C99 capable version [this commit does not include
C99 support.

- turn lerror() into a macro so that the filename and the line number of the
  error are printed before we abort.
- recurse in type printing to provide the proper type name.
2002-09-13 14:59:24 +00:00
gehenna ddd7a9f3e6 fix pasto. 2002-09-13 14:51:25 +00:00
itojun 0319b78e54 copyright clarification. from openbsd
1.
Paul Mackerras and the Australian National University have worked things
out, and as a result, Paul now owns copyright on all these files, with the
proper terms.

2.
and... we managed to contact "Eric Rosenquist" <eric@rosenquist.com> through
the help of people who found him: first one was nick.stott@cogeco.ca
This now has a better license.  Two authors left to go.
2002-09-13 14:32:11 +00:00
pooka 87a8e425d5 make usrdevicenames match reality better
from Ilpo Ruotsalainen
2002-09-13 14:29:15 +00:00