Commit Graph

109868 Commits

Author SHA1 Message Date
drochner
dd15fa8102 Fix bug in readudp(): we have to return the correct length
of the received packet to the caller.
TFTP works now.
2003-03-11 18:29:00 +00:00
tshiozak
5e62671b2f changes for cross build on FreeBSD box.
- rename some macros and types defined in runetype.h.
 - move declarations of some global symbols to rune.h from runetype.h.
 - make sure the target sources use rune.h and mklocale use runetype.h.
I tested them on FreeBSD-4.6.2 box (./build.sh -m i386 tools).
2003-03-11 17:23:07 +00:00
augustss
287c3adc4d Update URLs for the HID spec.
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
drochner
df62259ae1 kick out RARP/bootparam - PXE uses BOOTP anyway 2003-03-11 16:30:02 +00:00
nathanw
64324a8175 Remove debugging code accidentally committed. 2003-03-11 16:27:38 +00:00
drochner
dd688f888f translate EACCES (happens with NFS) 2003-03-11 15:02:54 +00:00
drochner
ff28ac27ec use our own NFS fs implementation, which is smaller, does a better job
in error reporting and coexists with the TFTP fs
2003-03-11 15:01:51 +00:00
drochner
8e04272b51 add prototypes for local functions 2003-03-11 14:38:45 +00:00
wiz
8a1379d49c Mention in the grep update entry that -o now does something else.
Noted by Hubert Feyrer.
2003-03-11 12:44:40 +00:00
dsl
f8f0dcfd17 Need .code32 after real_to_prot (not .code16) 2003-03-11 12:37:35 +00:00
drochner
f4f1e00d62 make a kernel with the combination ohci@cardbus + ehci@pci link 2003-03-11 11:59:31 +00:00
drochner
a6fda7bcfb create a symlink so that eg <x86/trap.h> is found 2003-03-11 11:03:23 +00:00
hannken
249e0067fe Add a port to the NCD Explora451 ThinClient.
- Supported devices: le, com, lpt, pckbd, frame buffer.
 - Support missing:   phy, audio, pcmcia.
 - Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:57:54 +00:00
hannken
44b1e07ec9 Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers.
  - non-standard access to the time base.
  - 16 byte cache lines.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:40:15 +00:00
tshiozak
3f9925f700 add wcstoll, wcstoimax, wcstoull and wcstoumax. (lib/20656)
- these are defined in C99 (wcsto[ui]max) and SUSv3.
  - these implementations are written by sigsegv@s25.xrea.com,
    derived from NetBSD's wcstol/wcstoul.
  - I just added some comments.
2003-03-11 09:21:22 +00:00
lukem
664f01402c add multiple-include protection.
clean up some comments.
2003-03-11 07:18:38 +00:00
lukem
00a162d001 Augment the KERNEL' field of MDSETIMAGES; if it contains a /'
character, use that as the path to the kernel to use, rather than
using the default of "${KERNOBJDIR}/${KERNEL}/netbsd".
(Using this feature means that FILENAME == "-" isn't useful. such is life...)
2003-03-11 05:14:58 +00:00
lukem
325e31e279 rcconf_is_set(): add optional 4th arg to control whether "obsolete"
warnings are printed.  this means it can now be used for "non obsolete"
rc.conf checks as well...
2003-03-11 04:49:18 +00:00
perseant
ec13062af8 - Get rid of unused #ifdefs LFS_NO_PAGEMOVE and LFS_MALLOC_SUMMARY (both
always true) and accompanying dead code.

- When constructing write clusters in lfs_writeseg, if the block we are
  about to add is itself a cluster from GOP_WRITE, don't put a cluster
  in a cluster, just write the GOP_WRITE cluster on its own.  This seems
  to represent a slight performance gain on my test machine.

- Charge someone's rusage for writes on LFSes.  It's difficult to tell
  who the "right" process to charge is; just charge whoever triggered
  the write.
2003-03-11 02:47:39 +00:00
nathanw
16612d0814 * Use a <= comparison rather than a < comparison when searching for
alarms to process.

* Remove a redundant assignment.

* Make a debug message more consistent with the others.
2003-03-11 00:18:36 +00:00
lukem
5c40b88236 a minor heads-up. (if i got bit by this, someone else might) 2003-03-10 23:42:45 +00:00
lukem
d3e7b00142 Fix typo in mkpath()'s test before chmod().
Noted in [bin/20652] by Anthony Mallet.
2003-03-10 23:33:10 +00:00
wiz
ea51c6a6f1 x68k, not x86k. PR 20650 by Josh Glover. 2003-03-10 22:47:44 +00:00
nathanw
37c11910ec Re-enable nanosleep(); kernel bug is squished (kern_time.c:1.67). 2003-03-10 22:16:36 +00:00
nathanw
11aebbf730 Change the contract for timer_settime() (the internal routine, not the
syscall sys_timer_settime()) to take an absolute value for realtime
timers. This avoids a pair of gratiuitous conversions with the
possibility that the timer's intermediate value would be 0.0, which
would signal timer_settime() to cancel the timer.

Adjust callers of timer_settime() to compensate; catch the case where
sys_timer_settime() with an absolute time value of now and a virtual
timer would also be subtracted down to a timer-cancelling 0.0.

This should fix the bug seen in libpthread's nanosleep() where certain
applications, such as xmms, would wedge with unexpired userlevel
alarms.
2003-03-10 21:49:56 +00:00
christos
80a839beda don't use the path for awk 2003-03-10 21:21:10 +00:00
tshiozak
4f31053655 rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD. 2003-03-10 21:18:50 +00:00
christos
687b5d51e3 s/u_int32_t/unsigned int/ 2003-03-10 21:18:49 +00:00
tshiozak
8328c33b65 rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD. 2003-03-10 21:18:48 +00:00
thorpej
5d036d28d6 Fix an error message. 2003-03-10 20:50:22 +00:00
tshiozak
75e29ba505 some changes around mklocale:
- clean up cpp directives.
- stop including rune.h from mklocale.
- stop using _BSD_RUNE_T macro.  instead, use int32_t directly in runetype.h.
- move _DEFAULT_INVALID_RUNE to runetype.h.
These were for historical reason on porting rune from FreeBSD,
but it seems that these are no longer reasonable but troublesome
under the current NetBSD build system.
additionally:
- runetype.h -> locale/runetype.h in mklocale, because this might conflict
  to FreeBSD's one.
2003-03-10 20:41:29 +00:00
thorpej
2d5e311009 Make PGALLOC_VERBOSE compile where size_t != int. 2003-03-10 19:52:24 +00:00
lukem
b307261961 clarify that lkm needs /usr 2003-03-10 18:21:00 +00:00
lukem
f70738da04 move altqd slightly later in the boot sequence; as it's in /usr/sbin,
it needs to depend upon mountcritremote, not run before NETWORKING ...
2003-03-10 18:17:06 +00:00
lukem
c61fa8df18 If building as a CRUNCHEDPROG, use "lex -L" and "yacc -l" to suppress #line
generation.  This may solve [bin/20637].
2003-03-10 17:58:21 +00:00
david
ada315648a Note that the /etc/apm/* scripts must be executable. 2003-03-10 16:14:37 +00:00
thorpej
2a493af5b0 For PMAP_CACHE_VIVT platforms, make UBC_RELEASE_UNMAP evaluate to TRUE,
and add a comment explaining why.

Reviewed by Chuq Silvers.
2003-03-10 15:07:17 +00:00
christos
5e7eaf37bd mention amd. 2003-03-10 13:18:07 +00:00
christos
30bcc35364 Update amd. 2003-03-10 13:16:26 +00:00
dsl
25456aecdb Put the __weak_extern() back inside vi_alias, but after the extern for
get_alias_text().
2003-03-10 11:09:25 +00:00
lukem
e5f384735d support 1234 and 4321 as valid byte-order arguments for -B 2003-03-10 10:02:58 +00:00
he
d5428a2906 Move the __weak_extern() (ifdef'ed) outside of the vi_alias()
function, so that this compiles again.
2003-03-10 09:55:10 +00:00
tshiozak
947243ba1e revoke using PRIu32 macro and add fallback for UINT32_C macro,
because these do not exist on rather older systems.
XXX: I wonder someone will add them to tools/compat.
2003-03-10 09:37:04 +00:00
wiz
84cb70148f Correct program name in comments. 2003-03-10 09:23:50 +00:00
wiz
d686d8626e Sort sections; "file system" instead of filesystem; mdoc improvements;
new sentenence, new line.
2003-03-10 09:23:23 +00:00
wiz
237046f68b + dpt, nsmb, kttcp, dmoverio, veriexec, twe (hi martin!) 2003-03-10 08:17:02 +00:00
lukem
8bfad4ad7a Use sleep(1) instead of usleep(1000000) to sleep for a second, since
usleep() doesn't support an argument >= 1000000.
Problem noted & fix provided in [bin/20644] from Dave Huang.
2003-03-10 08:04:15 +00:00
lukem
5b4f7a290b add usr/include/sys/tree.h 2003-03-10 08:01:11 +00:00
lukem
6f7e79fef4 install sys/tree.h
organise INCS= lines to make it easier to add includes in the future
2003-03-10 07:55:14 +00:00
lukem
857064c7bf fix build.sh usage 2003-03-10 06:46:59 +00:00