Commit Graph

159441 Commits

Author SHA1 Message Date
martti
fff7fd04df s/iplattach/ipfattach/ and s/ipldetach/ipfdetach/ 2007-06-04 12:38:58 +00:00
jnemeth
8d9552c610 PR/36436 - Joerg Niendorf -- missing "the" 2007-06-04 11:08:36 +00:00
martin
c2534a819b Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
2007-06-04 08:55:18 +00:00
chs
243f294f4f instead of specifying the start of the data section in the makefile,
just round it up to the next 4MB boundary in the ldscript.
this prevents parts of the kernel-image range from being left unmapped.
fixes PR 36388.
2007-06-04 04:53:44 +00:00
uwe
7a2d8df57b Document that reboot(8) passes any arguments to reboot(2) as bootstr. 2007-06-03 22:39:47 +00:00
christos
c3f4be5b97 make sure we have args before we try to parse numbers in the compat argument
parsing. From Gary Duzan
2007-06-03 22:39:21 +00:00
uwe
00fa1e6950 Stack protector codegen bug on sh3 has been fixed, so drop sh3 from
the list of platforms where we disable ssp.
2007-06-03 21:07:33 +00:00
uwe
86fd3cca3a Fix gcc codegen bug that manifests during generation of stack
protector code for sh3.  Details in gcc pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32163

Author: kkojima
Date: Sun Jun  3 04:38:52 2007
New Revision: 125292

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125292
Log:
        PR target/32163
        * config/sh/sh.md (symGOT_load): Don't schedule insns when
        the symbol is generated with the stack protector.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md
2007-06-03 21:02:44 +00:00
uwe
b419ee7e97 Don't treat KLOADER_KERNEL_PATH as an option to enable kloader(4).
Define proper option KLOADER instead and make KLOADER_KERNEL_PATH
default to "/netbsd".  Make it possible to compile w/out kloader.
2007-06-03 19:46:23 +00:00
xtraeme
cf047a688e Improve previous entry a little bit. 2007-06-03 19:45:21 +00:00
xtraeme
583a110ce0 Remove Enhanced Speedstep stuff from here, it's defined on files.x86
now.
2007-06-03 19:37:50 +00:00
xtraeme
5fee77f904 Mention Enhanced Speedstep support on amd64 with EM64T CPUs. 2007-06-03 19:37:08 +00:00
xtraeme
34dba262f3 Mention Enhanced Speedstep related options for amd64. 2007-06-03 19:35:26 +00:00
xtraeme
53e2712d54 Add the options for Enhanced Speedstep commented out. 2007-06-03 19:34:07 +00:00
xtraeme
699c85af09 Make the Enhanced Speedstep driver available for i386 and amd64.
To use it on EM64T CPUs supporting the EST CPUID feature. Note that
some CPUs still don't work with this driver, like Xeon or Pentium 4.

Move the p[34]_get_bus_clock functions into its own file,
intel_busclock.c and remove this code from i386/identcpu.c.

Tested on i386 by myself and amd64 by Tonerre.
2007-06-03 19:32:26 +00:00
christos
380cacfb28 we can now compile libc with _FORTIFY_SOURCE 2007-06-03 17:42:18 +00:00
christos
2b3b97e3ff - Misc cleanups to make the code more readable.
- Detect if we are compiling in libc and provide the appropriate name.
2007-06-03 17:41:19 +00:00
christos
1418345039 Make these work with _FORTIFY_SOURCE, by overriding the fortified definitions 2007-06-03 17:39:26 +00:00
christos
5463112942 - add read and readlink since they are used internally
- protect vsnprintf and vsnprintf since for lex(1) generated files <stdio.h>
  is included before "namespace.h".
2007-06-03 17:38:07 +00:00
christos
fecee97ce4 We can USE_FORT now. 2007-06-03 17:36:08 +00:00
christos
aaa4c88713 provide a weak symbol for readlink since it is used internally. 2007-06-03 17:35:24 +00:00
christos
d9b4f5bb0a #undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
2007-06-03 17:34:35 +00:00
dsl
938cde68e5 Add a #define that expands to the compat wrapper for sigaltstack1().
Use it for the netbsd32_compat_13.c version of the code.
2007-06-03 14:59:46 +00:00
skrll
8ed58e93b0 Search for void * as the type of the 3rd argument of ptrace. 2007-06-03 14:59:22 +00:00
dsl
671dc7790c sendmsg() shouldn't modify the 'msg' parameter, and recvmsg() doesn't have
to modify the 'iov' array - it isn't updated.
2007-06-03 11:30:59 +00:00
dsl
97d93705e5 Calling sigaltstack1() directly is so much easier than going via
compat_13_sys_sigaltstack().
2007-06-03 11:09:35 +00:00
dsl
ed63ffe787 Split netbsd32___semctl14() so that it is callable from
compat_10_netbsd32_sys_semsys() (where the one parameter is already in
kernel space).
Note that the code in compat_10_netbsd32_sys_semsys() has always been wrong,
since it called compat_14_sys___semctl() - which would read 64bit values!
2007-06-03 10:55:10 +00:00
dsl
7ba299c5d4 Split sys__lwp_park() so that the compat/netbsd32 code can copyin and convert
its timeout then call the standard function.
2007-06-03 09:50:12 +00:00
pavel
4d6ee26f48 Attempt to fix PR kern/36431 by including process_read_fpregs() and
process_read_regs() when COREDUMP is defined. These function are used
in core_elf32.c .
2007-06-03 09:38:16 +00:00
dsl
b38af594ea Move the #if at the top of trace_enter/exit back above the declaration of 'p'
(where it used to be in rev 1.147) so that this code compiles when none of
the trace options are in use.
Fixes PR kern/36431
2007-06-03 07:47:50 +00:00
dogcow
9ab52b1142 Move isp* from INSTALL to INSTALL_LARGE; isp is gigantic enough that it
makes a noticable impact in the size of the kernel. (build release now works
again.)
2007-06-03 03:39:53 +00:00
matt
91d658881f ofctl can write its OFW tree to a proplib. (reading from a proplib doesn't
quite work yet).
2007-06-03 03:01:41 +00:00
uwe
c75253c460 Nuke traces of PCI. Minor cosmetic clean ups. 2007-06-03 01:52:54 +00:00
uwe
dcaa9bf80c Include igsfb_ofbusvar.h by its full official name. 2007-06-03 01:31:31 +00:00
uwe
217bc0b26b Make the name of the multiple-inclusion guard symbol match the file location. 2007-06-03 01:28:54 +00:00
tsutsui
04776a47dd Remove another #ifdef PCB_CMAP2 portion. 2007-06-02 23:51:37 +00:00
alc
3a676de695 don't increment `ip6stat.ip6s_noroute' here, it has already been done in
in6_src:in6_selectroute().

ok dyoung@
2007-06-02 23:26:26 +00:00
njoly
df2c7d05e6 Revert fs/gs changes for now.
This make clone(2) work again under NPTL compat linux emulation.

ok by fvdl.
2007-06-02 22:59:03 +00:00
dsl
44250a9038 Add some 'magic' defines so that we can build the svr4_32 version of this
code from the same source file as the svr4 copy.
I suspect this cpuld be done in other places....
2007-06-02 21:39:27 +00:00
pavel
9188cd99a0 Separate postinstall checks in two groups: enabled and disabled by
default. Only the former checks/fixes are done if no items are given
on the command line. The latter must be requested explicitely.

Intended for "fixes" that are dangerous in some way, because they might
remove files that are still in use, for example.

Make the "sendmail" item disabled by default, it removes sendmail
configuration. Partly addresses PR install/36180.

Proposed on tech-userlevel, review and spelling fixes from lukem@.
2007-06-02 21:25:08 +00:00
uwe
cc652c9405 Add COMPAT_40. While here, make COMPAT_30 comment match other COMPAT_*. 2007-06-02 17:16:12 +00:00
dsl
21d1d4f346 Instead of unconditionally initialising the ktriov and conditionally
copying in aiov, just unconditionally copy in aiov.
Probably saves a mispredicted branch and a data cache miss - as well as
removing some code.
2007-06-02 13:38:31 +00:00
yamt
a15e4b5b1b wrap #include "opt_ktrace.h" by #ifdef _KERNEL_OPT. 2007-06-02 13:16:19 +00:00
blymn
a5879e5845 Added new driver smsc(4) 2007-06-02 12:19:28 +00:00
tsutsui
0264c643f5 Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.
2007-06-02 12:07:03 +00:00
dsl
3d0e15d3b2 Call selcommon() directly instead of using the stackgap... 2007-06-02 11:51:42 +00:00
tsutsui
5044d1542d Fix bus_dmamap_sync(9) to do more proper cache flush operations.
Mostly taken from mvme68k.

Tested on (not yet integrated) mac68k SONIC Ethernet with MI dp83932.c.

XXX: should we also enable _pmap_set_page_cache{able,inhibit}()
XXX: functions in m68k/pmap_motorola.c for BUS_DMA_COHERENT support?
2007-06-02 11:13:45 +00:00
he
71da552ff1 If HAS_SSP == "no", don't descend into the ssp subdirectory, because
building there will fail.
2007-06-02 11:09:22 +00:00
tsutsui
a2d77b96dc In sonic_reset(), make sure to stop TX, RX and timer
and clear and disable all interrupts.
Required by mac68k obio sonic cards, and
no bad side effect on arc jazzio sonic.
2007-06-02 10:48:24 +00:00
dsl
e12ac31b52 Remove an unsed call to stackgap_init() 2007-06-02 10:09:05 +00:00