Commit Graph

178552 Commits

Author SHA1 Message Date
yamt
aa75a65af2 add a missing _KERNEL_OPT ifdef. 2009-03-11 04:16:43 +00:00
yamt
2f719ad315 wrap opt_* includes with _KERNEL_OPT.
(i forgot to commit this with the tprof modules yesterday.)
2009-03-11 03:34:43 +00:00
mrg
47fb2b7401 always calculate "needed" for KERN_FILE2 calls. this allows a caller
to get an estimate of the needed space, like the intention is.
2009-03-11 01:30:27 +00:00
christos
df68463076 fix warnings. 2009-03-11 01:10:05 +00:00
christos
ba6a866c95 semi-colon before charset. From Anon Ymous 2009-03-11 01:08:23 +00:00
martin
66170437ce Work in progress from a colaborative effort of mrg and me (all bugs are
mine) - not quite working, but improves the situation for non-MULTIPROCESSOR
kernels (makes LOCKDEBUG kernels work) and does not make SMP kernels worse:

Rearange cpu_info access and hide the actual implementation of the mapping
from all parts of the code that do not directly deal with it. Do the
mapping early in pmap_bootstrap, so that post-vmlocking2 kernels have
a chance to work.

The actual mapping of the cpus array for SMP kernels has to be fixed still,
but both mrg and me ran out of time and this lay around in our trees far
too long.
2009-03-10 23:58:20 +00:00
joerg
86a5a95669 Remove redundant .br. 2009-03-10 23:49:07 +00:00
joerg
10d66a712f Remove use of .Xo/.Xc to workaround ancient macro argument limit. 2009-03-10 23:42:45 +00:00
joerg
edc0d6c151 Fix prologue. 2009-03-10 23:37:01 +00:00
joerg
fa91a1ac51 Use .An for author list. 2009-03-10 23:36:10 +00:00
joerg
4213d1261a Remove use of .Xo/.Xc to workaround ancient macro argument limit. 2009-03-10 23:32:26 +00:00
joerg
a7d7c3857f Remove redundant .IP. Remove use of .Xo/Xc to workaround ancient macro
argument limit.
2009-03-10 23:25:32 +00:00
joerg
bfe775a869 Remove redundant .Pp 2009-03-10 23:14:40 +00:00
wiz
097d2fd1a6 -1 is not a defined value, it is just a value.
On the other hand, minuses need backslashes, otherwise they become hyphens.
2009-03-10 22:55:14 +00:00
plunky
32813437a3 repair the SIOCSIFPHYADDR ioctl handler to be compatible with previous
versions which used a "struct sockaddr"
2009-03-10 22:14:57 +00:00
plunky
7a71a8c7db use the generic SIOCALIFADDR to add an active link layer address
instead of the (soon to be) deprecated SIOCSIFPHYADDR
2009-03-10 22:12:17 +00:00
roy
9fa1d120a0 el_gets now sets el_len to -1 on error so we can distinguish
between a NULL string and an error.
This fixes sh from exiting with libedit now allowing EINTR to return.
We may need to expand this to an errno check in the future.
2009-03-10 21:21:11 +00:00
joerg
70588139b2 Explicitly escape : in .It. 2009-03-10 21:18:35 +00:00
joerg
552c38146a Specify width for tag list 2009-03-10 21:12:23 +00:00
joerg
e85762f4cf Specify width for tag list 2009-03-10 21:00:47 +00:00
joerg
ed0b365527 Use .An for the author instead of more physical .Bl. 2009-03-10 20:59:49 +00:00
christos
ae87843e53 make el_gets set the count to -1 on error to distinguish between EOF and
error.
2009-03-10 20:46:15 +00:00
joerg
1cc1109801 Specify width for tag list. 2009-03-10 20:23:47 +00:00
bouyer
f5f016d356 More i386PAE fixes:
- x86_round_page, x86_trunc_page, x86_btop and x86_ptob macros are used with
  physical addresses; cast to paddr_t instead of u_long. Issue pointed out
  by jym@
- machine_to_phys_mapping[] is a long. This is fine as it holds page
  frame numbers (and this fits in a 32bit int as physical addresses are
  only 36bits), but cast to paddr_t before << PAGE_SHIFT
- xen_start_info.store_mfn is a long; cast it to paddr_t before << PAGE_SHIFT.
  should fix issue pointed out by cegger@
2009-03-10 20:05:30 +00:00
joerg
aea22a43d4 Specify width for tag list. 2009-03-10 19:54:43 +00:00
joerg
4154d53ea2 Use item list instead of tag list 2009-03-10 19:36:33 +00:00
joerg
442e8df612 Use item list as no tag is present. Fix markup for item. 2009-03-10 19:34:18 +00:00
bouyer
f6fc3b0ebe physical addresses may not fit in u_long, use paddr_t 2009-03-10 18:56:18 +00:00
bouyer
5d84b92a6d When ioapic is used, for ISA interrupts, reuse the legacy ISA interrupt
number instead of allocating a new one. Force allocating a new interrupt number
for PCI devices, as the number stored in the PCI interrupt register
may be wrong.
This should help using a pciide controller in compat mode or ISA devices
in a non-0 domain.
2009-03-10 17:21:57 +00:00
bouyer
e50e3a5ff8 Make sure xenkernfs_init() is called for XEN2 too. 2009-03-10 17:17:30 +00:00
msaitoh
3589a8fdf0 some bug fixes
- Set the flag to use multicast filter...
   Without this flag and with a shared hub, the MAC gets ALL packets and the
   packets will be forwarded if the forwarding is enabled. It results in DUP!

 - Workaround for "Non-Intel XScale Technology Eratta" No. 29.
   AA:BB:CC:DD:EE:xF's packet (the 2nd nibble from LSB is the same as the
   MAC's one) had matched the filter (both unicast and multicast).

 - Check if too {short,long} frame.

 - Add the MD hook to get MAC address
2009-03-10 17:09:48 +00:00
mrg
0f95b6d897 fix build libX11 1.2. 2009-03-10 16:36:07 +00:00
joerg
fdf2963413 Explicitly escape -- as it is not an argment to the Cm macro. 2009-03-10 15:14:28 +00:00
yamt
a2c6dc3301 tprof modules. 2009-03-10 14:59:19 +00:00
yamt
625056c471 enable tprof modules. 2009-03-10 14:56:30 +00:00
yamt
324183902f add makefiles for tprof drivers. 2009-03-10 14:49:49 +00:00
yamt
e1b625b4bc - adapt to MODULAR.
- some preparations to have more backends.
- add some comments.
2009-03-10 14:45:02 +00:00
msaitoh
8586a84598 some bugfixes
- Fix incorrect memset from FreeBSD CVS rev. 1.10 (SVN rev 183886)

 - Fix the bus_dmamap_create() call to prevent extra npe_defrag() call.
   Fixed by Hikaru Abe.

 - Add missing bpf_mtap() call in RX.

 - Add ETHERCAP_VLAN_MTU flag
2009-03-10 14:42:31 +00:00
joerg
048b505ac7 Don't use .Xo/.Xc to workaround ancient macro argument limit. 2009-03-10 14:18:52 +00:00
joerg
7e69823738 Don't workaround ancient macro argumentent limitation with .Xo/.Xc. 2009-03-10 13:57:08 +00:00
joerg
cbebb4f578 Don't break scope for .Oo/.Oc to workaround ancient argument limit. 2009-03-10 13:46:43 +00:00
joerg
fda71aab5e Remove use of .Xo/.Xc to workaround argument number limit. 2009-03-10 13:44:02 +00:00
joerg
c33b9a443e Remove redundant .Xo / .Xc scope. 2009-03-10 13:34:45 +00:00
joerg
bea55cbff7 Fix markup. 2009-03-10 13:23:39 +00:00
joerg
51fed7bd6c Add missing .Os. 2009-03-10 13:21:52 +00:00
joerg
9d4bdfc640 Use MAP_FAILED and NULL. 2009-03-10 13:15:40 +00:00
joerg
0d16285a6e Avoid .br, use .An for authors as suggested by wiz. 2009-03-10 11:56:48 +00:00
mlelstv
046c06b035 Make curlwp accesses conditional on wether the data structures
have been initialized. Fixes PR kern/38599.
2009-03-10 10:48:09 +00:00
joerg
14c36f5de7 Instead of .Xo + .Fo and .Fc / .Xc, just use .Fn. We don't want to
support a troff with macro argument limit. OK wiz.
2009-03-10 10:30:28 +00:00
mrg
2297c9ea68 add the new Xi manuals. 2009-03-10 04:55:00 +00:00