Commit Graph

190483 Commits

Author SHA1 Message Date
kardel
a2c1ee7188 switch to nanotime() for 100ns resolution 2010-05-04 19:23:56 +00:00
macallan
38ea318425 remove now redundant ri = ... lines in putchar() methods
Looks like none of my usual test builds used rasops2.c
2010-05-04 19:16:22 +00:00
tsutsui
fa836933a2 Switch NetBSD/news68k to using 8KB/page in kernel.
It slightly improves performance on NWS-1750D (MC68030 25MHz):
http://mail-index.NetBSD.org/port-m68k/2009/12/08/msg000204.html

MI m68k/pmap_motorola.c and other sources can handle both 4KB/8KB pages
(amiga and atari have used 8KB pages for many years) and there is
no binary compatibility issue on it.
(kernel modules might be affected but 5.99.29 was just two days ago)
2010-05-04 16:47:13 +00:00
tsutsui
7ea90218ce Make local functions static. 2010-05-04 15:38:04 +00:00
tsutsui
15939df54d Fix dumb build errors. Compile test only. 2010-05-04 15:32:31 +00:00
tsutsui
a97c5654cb Merge .rodata.* sections (like .rodata.str1.4) into .rodata section.
Newer binutils creates such sections and old firmware might be confused.
2010-05-04 15:00:39 +00:00
tsutsui
9a9555d932 Some KNF. 2010-05-04 14:14:54 +00:00
tsutsui
67ae586755 Put an INSTALL kernel and ofwboot.xcf into ISO9660 root.
Newer OpenFirmware recognizes not only HFS but also ISO partition.

XXX: should I also update files in src/distrib/cdrom?
2010-05-04 14:09:11 +00:00
tsutsui
30fe5a6c65 Remove non-English translations from ews4800mips sysinst.
I don't think there are any EWS4800 users outside Japan.
2010-05-04 13:33:13 +00:00
phx
2363b986ca sandpoint: support for Marvell-SKnet in netboot 2010-05-04 12:45:11 +00:00
nonaka
71c9ab4685 fix compile failure. 2010-05-04 12:36:37 +00:00
tsutsui
25362a67ff Don't #error on invalid LABELSECTOR or LABELOFFSET on __RUMPKERNEL build.
As mentioned in src/sys/rump/dev/lib/libdisk/Makefile,
rump(4) builds don't check if each ${MACHINE} actually supports
MBR in MD readdisklabel(9) ops while it pulls MD <machine/disklabel.h>.

Workarounds so long broken build of ews4800mips.
2010-05-04 12:20:50 +00:00
jmmv
0c7618681c Fix execution of the installed tests by using h_{simple,args} as program
names, without the .sh extension.
2010-05-04 09:33:57 +00:00
plunky
c76d621ddd handle the difference between C99 and GNUC semantics of inline
functions with external linkage, by using "inline" for STDC and
"extern inline" for GNUC

(as noted by joerg@, using static inline may be clearer)
2010-05-04 09:07:11 +00:00
jruoho
43f2dd8f20 Rework the example a little. 2010-05-04 07:58:28 +00:00
jruoho
dd121e1e5b Remove the list of functions.
This list was updated only two times in nearly two decades.

(If people need to learn the standard I/O functions in C, it would be better
to mention K&R or some other textbook; if people need to know the list of
functions, it would be better to point out the location of the standard.)

In addition, some clean-up and structural editing.
2010-05-04 07:43:12 +00:00
jruoho
c17db6ca32 Remove the list of functions in the libutil library.
While such lists are nice, they are doomed to be repeatedly out of date due
maintenance costs related to manual updates. Ideally there should be a
common routine to auto-generate these, but in the meantime, just point to
the directory where libutil is implemented.
2010-05-04 07:07:12 +00:00
jruoho
805fdd4774 Use table instead of a list. 2010-05-04 06:53:35 +00:00
jruoho
45b87028bd Use .Fn instead of .Nm. 2010-05-04 06:41:27 +00:00
jruoho
0fb5e18e02 Update the -- now quite big -- list of unsupported Linux options. 2010-05-04 06:13:43 +00:00
jruoho
0802a57b2e Reference bswap(3). Improvements in the HISTORY section. Remove the AUTHORS
(of the man page) section, which does not appear in the original (FreeBSD)
manual page.
2010-05-04 05:49:12 +00:00
macallan
1c134541af use box drawing font if needed 2010-05-04 05:10:25 +00:00
macallan
8d6574053c add some PLL-specific register definitions 2010-05-04 05:08:01 +00:00
macallan
d87e1bf08e this has been sitting in my tree too long:
- device_t-ify
- sanitize debugging #ifdefs
- deal with firmwares setting up modes using other clocks than #0
- get rid of sparc and macppc-specific code, use device properties instead
- while there, use alternate box drawing font if needed
2010-05-04 05:07:14 +00:00
macallan
9fae8e4448 use alternate font if available ( for autogenerated box drawing characters ) 2010-05-04 05:00:33 +00:00
macallan
15a269471f autogenerate box drawing characters for fonts that don't have them, put them
into an alternate font pointed at by the recently added mappings in wsfont,
adapt all putchar() methods except the rotated ones to use them
XXX no attempt has been made to make this work with rotation
2010-05-04 04:57:34 +00:00
macallan
9bdc7d44b6 add translation tables for ISO fonts in order to map unicode box drawing
characters to something else than whitespaces
2010-05-04 04:53:59 +00:00
agc
9ce8176ea5 Make this compile with gcc 4.5 - patch from Juan RP in PR pkg/43244 2010-05-04 00:02:46 +00:00
martin
22ccb73099 Prevent a -ve int -> uint32 underflow, noticed by joerg.
If a partition ends up 0-sized, set it to FS_UNUSED to avoid later warnings.
2010-05-03 23:04:12 +00:00
christos
bbde328be4 Build the modules in two phases:
1. build the static modules first, before libpam so that the static
   libpam can link against the module .a files.
2. build the modules after the dynamic libpam is build, so that the
   dynamic modules can link against the dynamic libpam.
2010-05-03 22:12:32 +00:00
phx
38f01942b4 Fixed descriptor size (noticed by nisimura).
Using two TX descriptors. Might be better, although libsa seems to work with
one.
2010-05-03 18:55:09 +00:00
mhitch
425781ccc5 Fix error introduced with timecounters - RTC clock register only uses
the last 2 digits of the year.  Fixes setting the clock and keeps the
DECstation PROM happy and stops it from setting the date to Jan 1, 1972.
2010-05-03 18:04:56 +00:00
hubertf
7c6ec9ae43 Add RCS ID, per PR 43243 2010-05-03 17:15:58 +00:00
tsutsui
5dbe867cfa Use tcx(4) and zx(4) (which is in share/man/man4/man4.sparc)
rather than suntcx(4) and sunleo(4).
2010-05-03 16:36:26 +00:00
tsutsui
bc24c1f2f7 Add man page suffix to some entries. 2010-05-03 16:32:32 +00:00
tsutsui
7112ccc257 Note about sysinst(8) for hpcsh. 2010-05-03 16:21:03 +00:00
tsutsui
8e5d88421a Fix indent for www changes page. 2010-05-03 16:20:24 +00:00
tsutsui
feae952768 - remove resigned developers
- remove "other contributors" in the time of 386BSD

XXX: probably we should simply refer htdocs/people/developers.html
XXX: rather than maintaining two independent lists
2010-05-03 16:15:05 +00:00
tsutsui
b46834071d Update IP addresses (both IPv4 and IPv6) of current ftp.NetBSD.org.
XXX: is it still worth to note those numbers in INSTALL docs nowadays?
2010-05-03 15:14:24 +00:00
tsutsui
8939ecc4ca Remove "MS-DOS floppy" from "Getting the NetBSD System on to Useful Media"
section. The media is actually being dead especially for large binary sets.

XXX: too much more "floppy" words in INSTALL docs
2010-05-03 15:08:52 +00:00
tsutsui
433257934d Briefly note about hpcboot and pull notes/common/sysinst. 2010-05-03 14:39:03 +00:00
tsutsui
5b534b475e Add sysinst(8) for hpcsh.
Mostly taken from hpcsmips, but no non-English translations.

Tested on HPW-50PA.
2010-05-03 14:14:35 +00:00
christos
7283382b7f make the dependency to libpam, explicit. Fixes afpd in pkgsrc. From Mark Davies
XXX: Should be pulled up to 4.x and 5.x.
2010-05-03 12:58:09 +00:00
tsutsui
3f23c95545 Sync kloader(4) behavior with hpcmips:
- use bootstr passed via reboot(2) with RB_STRING for the next kernel path
- prepare independent opt_kloader_kernel_path.h for KLOADER_KERNEL_PATH
- some cosmetics to reduce diffs from hpcmips

Tested on HPW-50PA (Hitachi PERSONA).
2010-05-03 12:16:04 +00:00
darran
17b7c13057 DTrace: Fix several bugs where the mod_ctf_get() function could return
success even though no CTF section was present in the kernel or module.
This fixes the panic that several people saw when trying out the FBT
provider without updating /boot or missing a CTF section in /netbsd.
2010-05-03 09:51:36 +00:00
darran
80dda7416d DTrace: print a warning no CTF section is found when processing arguments.
This should help diagnose problems such as netbsd images without CTF
sections and old boot loaders.
2010-05-03 09:28:38 +00:00
skrll
7d9f1f6afe Allocate a major number for pci and created device nodes. 2010-05-03 08:45:43 +00:00
jruoho
26a87898ae Fix previous commit by also moving the type of _malloc_options. In addition,
add a (commented) note that _malloc_message should be documented better.
2010-05-03 08:23:20 +00:00
jruoho
60d71be703 Move the '_malloc_options' variable from malloc(3) to jemalloc(3). 2010-05-03 08:11:57 +00:00
skrll
020f8ac55b Create tty0[0-3] devices. 2010-05-03 07:11:25 +00:00