Commit Graph

48379 Commits

Author SHA1 Message Date
dsl
9e996b5529 Annotate some of the assembler.
Remove 2 redundant register-register moves.
2008-09-18 21:35:17 +00:00
dsl
467e49cfc1 Clear all the correct flags when calling a signal handler. 2008-09-18 21:28:45 +00:00
dsl
d1779123ae Remove PSL_MBO (the bits that Must Be One) from PSL_USER - which are the
bits that the 'user' can change.
Who knows what the effect of a user signal handler (which I think might have
access to the bits) changing these bits might be!
2008-09-18 21:09:18 +00:00
christos
95ffbb8bc9 Define a PSL_CLEARSIG macro for the psl flags to be cleared on signal delivery
and use it everywhere.
2008-09-18 15:57:04 +00:00
cegger
8ca0c5aa89 Add amdtemp(4) to Xen Dom0 kernels. 2008-09-17 12:39:50 +00:00
christos
e361ed1721 Include PSL_D in the flags to be able to be set by the user. Since setmcontext
is used to restore context from a signal handler, this will allow restoring
PSL_D to what it was before the user code entered the signal handler allowing
programs to work.
2008-09-17 12:28:52 +00:00
bouyer
6004aef42d Implement the arch-dependent p2m frame lists list. This adds support for
'xm dump-core' for NetBSD domUs.
From Jean-Yves Migeon (jean-yves dot migeon at espci dot fr)
2008-09-16 19:55:31 +00:00
bouyer
dca35a7e77 Fix typos and pasto, from Jean-Yves Migeon (jean-yves dot migeon at espci
dot fr). Luckily this pasto is fatal only in case of a 64bit domU on a
32bit dom0, which we don't support yet as dom0.
2008-09-16 19:53:05 +00:00
tsutsui
e534d5e65b Enable more PCI devices. 2008-09-15 04:42:58 +00:00
tsutsui
837dff7f8c Enable options TMPFS. 2008-09-15 04:08:55 +00:00
tsutsui
9636fc5edc Remove ancient workaround hacks for gcc 2.7.2. 2008-09-14 15:03:17 +00:00
tsutsui
e928195279 - use memmove(9) for possible overlapped screen copies, per PR port-arc/36703
- replace bcopy(9) with memcpy(9) where no overlap
- fix a typo in comment
Tested by using sysinst with pccons(4) on gxemul.
2008-09-13 17:13:57 +00:00
tsutsui
abe73f3a6c Fix more botches on device_t/softc split,
which didn't cause errors on compile.
Tested on gxemul.
2008-09-13 16:15:38 +00:00
tsutsui
b93d54e06c Make this compile (restore some lines removed in rev 1.53). 2008-09-13 16:08:02 +00:00
tsutsui
7b16185486 Fix botches on device_t/softc split. 2008-09-13 16:02:17 +00:00
tsutsui
bba8dbb065 Put a missing newline. 2008-09-13 15:58:01 +00:00
tsutsui
28c30d59ac - enable dhclient(8) in RAMDISK kernel
- bump mdroot size
2008-09-13 07:36:30 +00:00
skrll
0a3b051fc6 Fix (U)LLONG_(MAX|MIN) defines.
From Jonathan Kollasch. Thanks.
2008-09-13 07:33:26 +00:00
skrll
1a95ecfedf Swap max/min in comments to match symbols. 2008-09-13 07:30:59 +00:00
skrll
632763e1fc Multiple inclusion protection. 2008-09-13 07:30:22 +00:00
pgoyette
08e5be9d34 Include new I2C_SCAN option in ALL. 2008-09-11 20:50:04 +00:00
christos
9d61fcf10f replace \xa0 with space from Andy Shevchenko 2008-09-10 19:20:06 +00:00
jmcneill
b1cb1c6dcb PR# 38683 - T61 cannot suspend with recent kernels
Don't restore spl until after AcpiLeaveSleepState.
2008-09-10 03:56:12 +00:00
macallan
cc43cb490b get rid if some mistyped magic number, spotted by Marco Trillo
While there map only the space we actually need.
Needs to be tested on actual hardware.
2008-09-10 00:33:12 +00:00
tron
5f566e7cf3 Remove duplicate definition of "bootinfo" structure.
Patch provided by Juan RP in PR kern/39495.
2008-09-09 12:09:31 +00:00
ober
ed773dc9c5 Adding iwn(4) to GENERIC 2008-09-09 03:26:42 +00:00
jmcneill
4b0864422d Add uvideo(4) 2008-09-09 01:18:45 +00:00
gmcgarry
0de5da9678 Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
2008-09-08 23:36:53 +00:00
joerg
08c7b8a922 Make the amount of backing memory a macro to simplify changing it. 2008-09-08 21:32:50 +00:00
pgoyette
15c5293824 Separate checking of sensor value vs threshold/limit value into two
routines, so we can distinguish between an over-limit vs under-limit
condition.  Set sensor state appropriately based on which threshold
is exceeded.

To do: come up with a means of detecting non-existent fans vs broken
fans.  Currently, both report a valid value of "0 RPM" at least on
some platforms.

OK garbled@
Tested by simonb@
2008-09-08 03:05:38 +00:00
tron
b2672204e3 Remove references to non-existant kernel option NO_TSC_TIME.
This fixes PR port-i386/39460 by Juan RP.
2008-09-07 12:01:25 +00:00
jmcneill
ab5af76226 Enable video(4) and pseye(4) 2008-09-06 20:08:01 +00:00
skrll
28945b3253 Add a comment and whitespace. 2008-09-06 09:45:57 +00:00
tron
0f256b9d59 Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.
2008-09-05 13:37:24 +00:00
martin
feab9a1220 Fix machine_arch vs. machine confusion, PR 39436.
OK: garbled
2008-09-01 19:03:44 +00:00
mrg
db754c0bc1 remove a strain # endif from the previous commit. 2008-08-31 23:23:42 +00:00
fvdl
1f23ad28e6 If tsc_freq is 0 (probably due to bad virtualization, as currently
seen under VirtualBox), don't try to use TSC as a timecounter source
to avoid trouble. Matches the FreeBSD behavior.
2008-08-31 17:24:14 +00:00
martin
3c52d9932f We are not creating a.out NMAGIC files, and handling the required alignement
of sections explicitly in the ldscript, so do not pass -n to ld.
This fixes the strange combined text/data sections seen with certain
(smaller) kernels as explained on tech-toolchain.
Found by Nick Hudson, ok: matthew green.
2008-08-30 13:23:55 +00:00
tsutsui
3a125a98e1 Add CPUFLAGS to optimize for mips3 since no mips1 machines on this port. 2008-08-30 03:14:44 +00:00
matt
e896294a6c Remove non-__ELF__ snippets. 2008-08-29 19:08:29 +00:00
matt
d26637cf86 Remove non-__ELF__ support. Use .pushsection/.popsection for RCSID. 2008-08-29 19:00:25 +00:00
matt
c2931c2bab use uint32_t. 2008-08-29 18:58:22 +00:00
matt
9906ead4b6 Drop support for compiling a.out kernel. Elves rule! 2008-08-29 18:25:01 +00:00
tsutsui
37661d2fc1 Fix a fallout of device_t/softc split for com(4) devices.
Per PR port-hpcmips/39426 from Nozomu Ando.
2008-08-29 12:08:30 +00:00
gmcgarry
3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
martin
d38a14761e use device_private() to get the softc 2008-08-28 19:17:55 +00:00
skrll
2958809c8c Whitespace. 2008-08-28 08:45:26 +00:00
skrll
6a21cfdeb4 ANSIfy 2008-08-28 08:25:46 +00:00
jmcneill
ebf54f79dc Add support for keylargo-style mediabays, as found in eg. PowerBook3,1 2008-08-28 04:05:50 +00:00
martin
5c26a4b510 Turn a printf into a DEB 2008-08-27 22:05:13 +00:00