Commit Graph

115679 Commits

Author SHA1 Message Date
yamt
378afd773a when casting a pointer to an integer,
cast it to uintptr_t so that 64-bit archs will be happy.

pointed by Juergen Hannken-Illjes.
2003-07-31 15:13:05 +00:00
matt
18a1f8d4c7 Switch to m[tf]sprg[0-3] 2003-07-31 14:02:22 +00:00
matt
52bfbfda86 Use register prefixes and load/store pseudo-instructions. 2003-07-31 13:59:54 +00:00
lukem
403ce9dc0c simplify and use ${DEPENDSRCS} as a target as appropriate 2003-07-31 13:54:30 +00:00
hubertf
e13dec7b2a Making device files -> Making device nodes 2003-07-31 13:50:05 +00:00
scw
bc25d2ab5f Const poisoning. 2003-07-31 13:48:11 +00:00
lukem
a504cd2911 bsd.dep.mk: add a dependency for *.d on ${SRCS} ${DPSRCS}. this should fix
some build problems where DPSRCS contains .h files that need to exist to
build the .d file.

document that bsd.dep.mk should be included after anything that might
update SRCS or DPSRCS so that the above works correctly, and actually
ensure this is the case.
2003-07-31 13:47:32 +00:00
lukem
7b3a8b8486 tweak this unconventional (some might say "baroque") Makefile to work
with the new <bsd.dep.mk> *.d semantics.
fixes problems highlighted by Martin Husemann <martin@>
2003-07-31 12:46:00 +00:00
dsl
c841017dd9 Do something more sensible for waddbytes(..., "\r\n", ...);
I'm not sure about the clrtoeol() at all though - maybe it should
be done as part of scroll()?
Leave 'x' alone when __NONL set.
2003-07-31 10:36:00 +00:00
lha
a6393a1286 libkrb depends on libdes (add)
libkrb5 depends on libcrypto (move from comon part)
2003-07-31 10:02:22 +00:00
itojun
5de5abdd3d consistently use new DES API, re-enable des regression test 2003-07-31 08:53:58 +00:00
matt
478364a5c5 Convert to the load/store pseudo-instructions. 2003-07-31 08:04:21 +00:00
matt
e51e13713a Use symbolic register names (%rN and %crN) throughout. Change a few more
numeric constants to their symbolic counterparts.
2003-07-31 07:51:16 +00:00
matt
cef74eb810 Add #define _NOREGNAMES (to suppress asm.h from #define r1 1 ...) 2003-07-31 07:50:02 +00:00
lukem
462f170e30 crank version for:
* Work around broken ftp servers (notably ProFTPd) that can't even follow
  RFC 2389, and skip any amount of whitespace before a FEATure response.
  The RFC says 'single space' yet ProFTPd puts two.
  Noted by DervishD <raul@pleyades.net>.
* Improve formatting of features[] debug dump.
* Invalidate remote directory completion cache if any command which
  may change the remote contents completes successfully, including:
  del, mdel, ren, mkdir, rmdir, quote, and all upload commands
  Patch from Yar Tikhiy <yar@freebsd.org>.
2003-07-31 07:13:01 +00:00
lukem
8d51fbf035 Invalidate remote directory completion cache if any command which
may change the remote contents completes successfully, including:
del, mdel, ren, mkdir, rmdir, quote, and all upload commands
Patch from Yar Tikhiy <yar@comp.chem.msu.su>.
2003-07-31 07:06:41 +00:00
lukem
90bb61be44 * Work around broken ftp servers (notably ProFTPd) that can't even follow
RFC 2389, and skip any amount of whitespace before a FEATure response.
  The RFC says 'single space' yet ProFTPd puts two.
* Improve formatting of features[] debug dump.
2003-07-31 06:57:07 +00:00
matt
82ebd07f24 Convert most numeric constants to their symbolic equivalents. (step 2 of
cleaning up this file).
2003-07-31 06:49:32 +00:00
lukem
6874712934 Don't need -R/usr/lib; it will be searched at the end by ld.elf_so anyway.
Noted by matt green <mrg@>
2003-07-31 06:31:38 +00:00
matt
f5444cea2f Define SZREG {4,8} appropriately. Add pseudo-instructions (via #define)
to load/store int, long, pointer, register, multiple registers.  This is so
assembly files can be support IPL32 and LP64 PowerPC implementations.
2003-07-31 06:23:55 +00:00
matt
0039d6a257 Replace 'm[tf]sprg x,y' with the appropriate 'm[tf]sprg[0-3] r' (this makes the
SPRG used unambiguous).  This causes no change in the generated object.
2003-07-31 06:21:09 +00:00
lukem
29d4256657 ftp(1): $FTPUSERAGENT 2003-07-31 05:38:28 +00:00
lukem
6f5fbdb6de * $FTPUSERAGENT overrides the HTTP User-Agent header.
Based on patch from Douwe Kiela.
* Add about:tnftp
* Fix URL in about:netbsd
* Crank version
2003-07-31 05:23:59 +00:00
matt
18eb53cd22 add PSL_TGPR (for MPC603) 2003-07-31 01:25:38 +00:00
sjg
1ebbf35953 Test behavior of commandline variable assignments. 2003-07-31 00:46:15 +00:00
matt
5166de08fb back out inadvertant commit (however, -D_PTHREADS needs to be supplied
somewhere so that gthr-posix.h is included).
2003-07-30 21:21:46 +00:00
matt
e379d89a35 Remove the alpha specific -mieee flag 2003-07-30 21:20:33 +00:00
matt
774cd5317a Remove the alpha specific -mieee 2003-07-30 21:19:35 +00:00
bsh
8c0536d8f2 add SMDK2800 to supported platform. 2003-07-30 18:55:46 +00:00
bsh
7fc9d147bb gzboot for SMDK2800. 2003-07-30 18:54:18 +00:00
jonathan
dfdfebe4d9 Discard previous driver; it didnt really do anything.
Replace with  a new from-scratch port of  recent OpenBSD hifn7751 source,
with changes to the crypto-framework calls to fit Sam Leffler's rework.
(Some of the attach-time changes from the previous driver were carried over).
Many thanks to Quentin Garnier (cube@cubidou.net) for testing an pre-release
of the driver and finding a couple of missing initializations.

Note that RNG support is temporarily disabled, until a potential issue
with RNG quality is investigated and resolved.
2003-07-30 18:49:27 +00:00
jonathan
460c06b905 Move the initialization of the crypto framework from the userland
pseudo-device to init_main(), so the framework is ready for
registration requests at autoconfiguration time.

Thanks to Quentin Garnier for confirming the change was required, and
for testing a similar fix.
2003-07-30 18:45:31 +00:00
jonathan
4ccffbe938 Add ``needs-flag'' to opencrypto/crypto.c, so that init_main() can do
a feature-test and if present, initialize the crypto framework before
configuring hardware devices, so the crypto framework is ready to accept
attachment requests when crypto hardware are auto-configured and
try to register themselves with the framework.

Thanks to Quentin Garnier who, given a heads-up about the problem,
tested the same basic fix with a hardware device.
2003-07-30 18:28:58 +00:00
bsh
675f6328c9 + enable nested interrupts. This change stopped silo overflow messages
at 115200bps.

+ disable all hard interrupts by default.

+ rewrite s3c2xx0_(un)mask_interrupt() to make them faster.
2003-07-30 18:25:50 +00:00
jonathan
b2fb48e943 Garbage-collect references to OpenBSD-only <dev/rndvar.h>. 2003-07-30 18:20:15 +00:00
bsh
caf245db80 make this compile again. (arm32_bus_dma_tag._cookie) 2003-07-30 18:17:16 +00:00
he
d3c139da44 Initialize the new _cookie member of arm32_bus_dma_tag to NULL. 2003-07-30 17:28:19 +00:00
lha
cd8ee127f7 make the panic messages match reality 2003-07-30 17:27:23 +00:00
mrg
8a8d2aa063 sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
2003-07-30 15:58:36 +00:00
yamt
bdbaf98d1e using normal bufcache buffer for cluster buffer head. 2003-07-30 13:36:40 +00:00
yamt
1bc98d3c14 - check EROFS earlier in lfs_markv.
- remove wrong error recovery code (fake buffers are never on bufqueue)
  and put a comment instead.
2003-07-30 12:38:53 +00:00
yamt
3bded40734 remove an unused definition of LFS_VREF_THRESHOLD. 2003-07-30 12:34:00 +00:00
yamt
33164bffc6 vrecycle removed nfs vnodes.
not perfect, but enough for most cases.
2003-07-30 12:25:39 +00:00
yamt
cc104d0635 eliminate v_id. 2003-07-30 12:10:57 +00:00
yamt
b0cdf0a26d maintain the list of namecaches attached to the vnode.
it makes vnodes freeable.
2003-07-30 12:09:46 +00:00
dsl
87e998f336 Remove __winlistp, add *screen to WINDOW and initialise in newwin().
Make delwin() remove window from list of windows on its screen.
Free win->lspace and win->lines for subwins (they only share text space).
Free things in the correct (and same) order if malloc() fails in __makenew().
Adjust delscreen() for delwin() removing itself from winlist.
Fixes potential massive corruptions if delwin() called on a main window.
NB: not responsible for the sysinst core dumps :-(
2003-07-30 11:19:00 +00:00
dsl
a04fc5a9fe Use _cursesi_screen->winlistp (depracating __winlist) 2003-07-30 11:11:55 +00:00
dsl
7996b95938 Use _cursesi_screen->winlistp (depracating __winlistp)
Optimise and adjust layout so that fewer line breaks are required.
2003-07-30 11:10:42 +00:00
dsl
8f4bd35d69 Adjust layut to put ?: clause on a single line 2003-07-30 11:07:21 +00:00
itojun
ca9ee227bb forgot to add 2003-07-30 08:53:50 +00:00