Commit Graph

102025 Commits

Author SHA1 Message Date
oster
954775e02c Add two more debugging #defines: RF_DEBUG_RECONBUFFER and RF_DEBUG_VERIFYPARITY.
Use them to reduce kernel bloat by a little more.
2002-09-14 17:11:30 +00:00
thorpej
4c81eb7f69 If DESTDIR is set, add ${DESTDIR}/usr/libdata to the lint library
search path.  This works around the problem of lint using the
wrong lint libraries until a "lint -d ..." equivalent is implemented
for libraries.
2002-09-14 16:56:10 +00:00
thorpej
cb6a0e6be0 Add a do-lib-libc target which is processed after do-lib-csu. This
ensures that the results of the libc build are available to other
lib builds (notably, llib-lc.ln).
2002-09-14 16:46:24 +00:00
thorpej
c0691fd89d Back out previous; it breaks binary compatibility between platforms
in the same MACHINE_ARCH.
2002-09-14 15:54:00 +00:00
thorpej
34269821f1 If MAKE_BOOTSTRAP and HAVE_CONFIG_H, pull in "config.h" so that
we get the correct _PATH_BSHELL definition.
2002-09-14 15:23:49 +00:00
thorpej
d1f71ac3e2 Don't override the definition of LEX. 2002-09-14 14:59:30 +00:00
jonb
0f38cd8269 Fix typos that made errors in my first driver.
"All the other drivers did it this way..."
2002-09-14 14:19:38 +00:00
mycroft
e9a1e15d7e Move some #defines out of _KERNEL. 2002-09-14 12:58:37 +00:00
tsutsui
6ea9721865 Add (missed) entries for md(4). 2002-09-14 11:16:16 +00:00
thorpej
3b1c84c6b5 Resolve rpcgen's path in a way that works with other shells. 2002-09-14 05:35:13 +00:00
thorpej
5d0c1f4d8b * Add MKTEMP as a host tool.
* Pass MKTEMP to lorder, and invoke lorder with sh.
2002-09-14 05:01:45 +00:00
thorpej
fece31c9b7 Get MKTEMP from the environment. 2002-09-14 05:00:58 +00:00
thorpej
d92d489497 * Check for mkstemp() and mkdtemp(), and build them into libnbcompat
if necessary.
* mktemp is now a host-tool, so nuke the lame script (which isn't even
  properly installed during the tools bootstrap).
2002-09-14 04:30:27 +00:00
thorpej
922525072e Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
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