Commit Graph

175322 Commits

Author SHA1 Message Date
pooka ab7329f0f7 explicitly include <sys/buf.h> since we explicitly use it 2008-11-16 18:37:28 +00:00
bouyer 5c26c1f703 Do not depend on physmem for pci_dma64_available(). On some systems (e.g. Xen,
or any system with non-contigous physical memory), physmem may not represent
the hightest physical address available.
Discussed on tech-kern@ some weeks ago.
2008-11-16 17:31:03 +00:00
christos e1e5353bbe PR/39347: floating and long double conversions were ifdef'ed out because
we did not have wcstold and wcstof back then. But this was done incorrectly
because we did not move the argument vector. Enable them now.
2008-11-16 16:26:01 +00:00
ad 38cbe1484b Another fix to previous. 2008-11-16 16:23:58 +00:00
ad c6555ead19 Our qsort() is inappropriate for kernel use because it makes recursive
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.
2008-11-16 16:15:58 +00:00
ad 974cf03d8d Fail to load if there is no embedded file system image. 2008-11-16 15:47:35 +00:00
ad 15fabc9984 Return EOPNOTSUPP for unload. 2008-11-16 15:46:10 +00:00
ad c94326aee4 +lfs_itimes.c 2008-11-16 15:39:19 +00:00
ad 7bdea38e00 Remove unneeded includes. 2008-11-16 15:29:53 +00:00
ad b766740610 Fix ksyms_getname() broken in previous. 2008-11-16 15:28:15 +00:00
martin 42cab0447c Make it compile 2008-11-16 15:17:05 +00:00
ad 9485f42356 - Local symbols could shadow globals in some instances. Fix it.
- mutex_enter() from ksyms_getval() could panic due to a change made
  in revision 1.40. Fix it.

- Replace the p-tree with a binary search of global symbols. Saves about
  250kB of wired memory on i386 and allows for faster lookups within
  module symbol tables.
2008-11-16 15:13:35 +00:00
ad e5c4df967a Make qsort() available in libkern. 2008-11-16 15:01:26 +00:00
ad e2a270368e Correction to previous. 2008-11-16 14:55:42 +00:00
pgoyette 3dbe765413 For DDR3, the number of physical banks stored in the EEPROM needs to be
incremented by 1.
2008-11-16 14:03:48 +00:00
ad 87557cc876 Sort output by name. 2008-11-16 11:30:55 +00:00
ad d89eff7233 Do not look up any given symbol more than once. Does away with the vast
majority of symbol table lookups.
2008-11-16 11:26:28 +00:00
dholland 3c6470e287 WARNS=4 2008-11-16 07:06:37 +00:00
dholland 855e61a2e0 Minor KNF and whitespace nits. No functional change. 2008-11-16 06:26:12 +00:00
dholland 9e9d6e3a61 Close possible race conditions if multiple copies of makewhatis end up
running concurrently. Other half of the fix for PR 35619.
2008-11-16 06:17:05 +00:00
dholland 590d8d204a One leftover trailing whitespace, caused by a merge botch at my end. 2008-11-16 05:41:39 +00:00
dholland cd4574a9b3 Further cleanup. Merge a bit of duplicate code. Don't roll private copies
of str(l)cpy or rename; check said rename for failure. Set WARNS=4.
2008-11-16 05:30:24 +00:00
dholland 0f92d2c5da Avoid running off the end of the name buffer when extracting a filename
from the program text.
2008-11-16 05:20:11 +00:00
dholland 671fb7b07e Clean up argument handling.
- Use getopt instead of rolling one's own.
 - Don't copy the -e arguments unnecessarily, and specifically, don't
   copy them into a small static buffer and zoom off the end.
 - Don't zoom off the end of the array of -e option files, either.
2008-11-16 05:11:35 +00:00
macallan cfce4b5539 make this work right with WSDISPLAY_SCROLLSUPPORT 2008-11-16 05:10:46 +00:00
dholland 7327b827a5 C has a neat feature called a 'struct'. Use one, instead of
FORTRAN-style parallel arrays.
2008-11-16 04:51:27 +00:00
dholland d790f1327a Index arrays according to customary C idioms, instead of a weird mix of
C and FORTRAN thinking.
2008-11-16 04:39:34 +00:00
dholland ccc5f71f77 Avoid using side-effecting macros. 2008-11-16 04:27:31 +00:00
dholland d07cca5113 Scratch variables shouldn't be global. 2008-11-16 04:21:24 +00:00
dholland 8b10ce7005 KNF, formatting, and whitespace cleanup. No functional change intended. 2008-11-16 04:13:45 +00:00
dholland 2286fbccd9 Sprinkle static and const. Use NULL and '\0', not 0, where appropriate.
Fix typo in comment.
2008-11-16 03:52:24 +00:00
dholland 69a42408ff Use <stdbool.h> and <err.h>. 2008-11-16 03:23:12 +00:00
christos 9ebdd72925 Nobody tested this? Initialize wcio for wide char i/o.
NB: Pullup to 5.0.
2008-11-16 03:16:00 +00:00
dholland c1f404eaad Ansify and de-__P(). 2008-11-16 03:13:39 +00:00
tsutsui 2a3ae26e88 Fix tyop in #ifdef TLDEBUG part. 2008-11-16 02:11:29 +00:00
bouyer 001faf8e6c Add etherip to the list of interface supporting ETHER_VLAN_MTU. 2008-11-15 21:37:12 +00:00
abs b53939be13 To be safe, do not use DMA for Falcon - from Tuomo 2008-11-15 21:35:31 +00:00
abs 5dd888f5c3 Since dl.d_type is always "unknown" now, pick the type of bootblock to
install based on the device name: eg /dev/fd0c would be floppy
2008-11-15 21:33:12 +00:00
abs 58051692c8 Remove bogus DEBUG uvm_map() calls - (sync with amiga pmap). From Tuomo 2008-11-15 21:30:50 +00:00
abs 85609809d6 Regenerate: Increase min ST_POOL_SIZE from 22 to 24 to avoid out of ST memory issues. Tested by Tuomo 2008-11-15 21:22:03 +00:00
abs 53aa0265b2 Increase min ST_POOL_SIZE from 22 to 24 to avoid out of ST memory issues. Tested by Tuomo 2008-11-15 21:21:23 +00:00
pooka e0a026a434 vpp is not logically passed in IN with lookup, so INOUT -> OUT.
No functional change, but consistent with the rest.
2008-11-15 19:08:12 +00:00
reinoud a597e786dd Specify blobsize as the `pagingsize' of the eccline blob pool. This will relax
the requirements of the pagingsize.
2008-11-15 18:26:50 +00:00
snj 976326ad53 Some spelling fixes from VaX#n8 in PR bin/23812. 2008-11-15 17:01:38 +00:00
ad 235e42d88f kernel -> builtin in output. 2008-11-15 11:29:04 +00:00
mrg 867022784c revert sparc back to default of XFree86 at the request of macallan. 2008-11-15 11:27:49 +00:00
ad 4ed3ae6f9c Remove trivial compat ifdefs. 2008-11-15 11:21:41 +00:00
ad ea8343610a No point wrapping the Ultrix disklabel stuff in COMPAT_ULTRIX 2008-11-15 11:19:07 +00:00
ad a471d58a44 Remove compat ifdef. 2008-11-15 11:15:22 +00:00
ad 3f1c80da0a Remove compat ifdef. 2008-11-15 11:04:39 +00:00