Commit Graph

190800 Commits

Author SHA1 Message Date
christos 9612529ef4 Revert bogus patch that attempted to canonicalize a non absolute argv[0] using
realpath(3). Consider: touch Makefile; mkdir make; make. This will set $MAKE
to $PWD/make so further attempts to use ${MAKE} will try to execute the
directory. This needs $ORIGIN to be fixed properly, or alternatively one
can duplicate the logic for execvp(3) and search the path for the make
executable. Not worth it. It was working just fine before!
2010-05-05 14:10:39 +00:00
joerg 0246da9a5b Add a note to run services_mkdb after modifications. 2010-05-05 13:27:17 +00:00
joerg aa73978631 Add verbose flag -v and make -q the default behavior. 2010-05-05 13:19:51 +00:00
sjg 25ba15c805 gcc defines __svr4__
SunPro compiler defines __SVR4
We need to check both to ensure that on SunOS signal is hooked into
sigaction - otherwise we do not pass the unit-tests due to missing
a SIGCHLD
2010-05-05 07:05:33 +00:00
jruoho 61d5c5bd31 Note the POSIX compliance (already since SUSv2, '97). 2010-05-05 06:55:57 +00:00
jruoho 09008336f5 Add a note that rb(3) is preferred for new code. 2010-05-05 06:24:43 +00:00
jruoho 450d8f49d5 Clarify a sentence by removing a comma. 2010-05-05 06:19:15 +00:00
jruoho 59d481ff7f Upon lukem@'s request, put the list of functions back.
XXX: Someone, please keep this up-to-date.
2010-05-05 06:11:14 +00:00
jruoho 12456d3098 Properly enumerate the two special cases. Also some markup improvements. 2010-05-05 06:04:19 +00:00
jruoho 50ad9a0506 Markup: .Fn instead of .Nm, .Tn, offset indent, newline for a new sentence. 2010-05-05 05:49:38 +00:00
jruoho 4a4dc62ed5 .Nm -> .Fn, and wrap the kernel config option so that it will fit into 80
columns.
2010-05-05 05:43:19 +00:00
jruoho 0f2121f16f Wrap the USD reference around .Rs/.Re. 2010-05-05 05:36:21 +00:00
jruoho 29cfcc518e Upon lukem@'s request, put the list of functions back.
XXX: Someone needs to go through all standard I/O functions in the libc,
     update the list, and keep it updated. While at it, please convert the
     list to use .Xr so that we can have links in HTML pages.
2010-05-05 04:13:16 +00:00
christos 242fd69b63 give the name of the dup initialization. 2010-05-05 02:20:42 +00:00
jym 7a985d70fe xen: Enable no-execute bit feature for i386pae and amd64 kernels. 2010-05-04 23:31:54 +00:00
jym d66ce3b289 Enable the NX bit feature for Xen i386pae and amd64 kernels.
Tested with Xen 3.1 and Xen 3.3, dom0 and domU, by bouyer@ and jym@.

Ok bouyer@.
2010-05-04 23:27:13 +00:00
macallan d3a30408f7 add a bunch of small utility functions to pick video modes based on things
like dot clock, resolution etc.
2010-05-04 21:17:10 +00:00
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