skrll
3974fd04a1
Remove an unnecessary goto
2006-10-05 07:04:31 +00:00
skrll
7b79ef2734
typo
2006-10-05 07:02:21 +00:00
skrll
fa1866d1ca
Sync with the OpenBSD diskubr.c and fix some of our own bugs:
...
- copyright maintenance
- remove all the endian stuff - it didn't work
- correct a comment spello
- use the correct blkno when writing a disklabel
- don't pass garbage from the stack as the disklabel when trying to read
the LIF label in the write label case.
Fixes PR 34547 from David H. Gutteridge
2006-10-04 07:28:00 +00:00
elad
65792a0340
More from Matt Fleming:
...
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
2006-10-01 20:31:49 +00:00
skrll
17843a3034
Add -mdisable-fpregs which makes this work again with gcc4. This needs
...
revisiting.
2006-09-28 21:17:01 +00:00
skrll
47ff53e648
Allow kernels to compile without USELEDS.
...
From Sergey Svishchev on port-hp700
2006-09-22 14:08:03 +00:00
skrll
05f8bc59e4
Timecounters for hp700 from Garrett. Tested by me.
2006-09-16 15:43:24 +00:00
skrll
73f2f65977
Convert hp700 to __HAVE_GENERIC_TODR
...
Move the tod routines to dev/pdc.c as suggested by Izumi Tsutsui - we
access the tod device via the pdc.
Tested on a hp712/60 with a flat battery.
2006-09-15 07:51:17 +00:00
skrll
d49ab36123
Do the NetBSD thing wrt resettodr in cpu_reboot. That is, remove OpenBSD
...
leftovers.
2006-09-15 06:11:40 +00:00
bjh21
e10108c7f2
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
2006-09-03 13:51:23 +00:00
christos
e0df1e4c51
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
...
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 07:59:21 +00:00
skrll
f0379c9f4b
Pull across OpenBSD arch/hppa/hppa/machdep.c:1.77.
...
revision 1.77
date: 2002/09/09 18:33:42; author: mickey; state: Exp; lines: +4 -2
set up the frame flags and a user frame better on exec
2006-08-26 06:17:48 +00:00
skrll
e875774fce
G/C dma_cachectl.
2006-08-26 06:07:28 +00:00
skrll
544f900acb
Fix PR 33702.
...
Modernise the linker script and make sure we have a symbol after the
link_sets.
Make sure that pmap_bootstrap doesn't tell uvm that some of the kernel
phys pages are free. Previously uvm would very likely allocate the phys
pages used for the link_sets to a MALLOC and they'd get overwritten.
Thanks to David H. Gutteridge for testing various things.
2006-08-25 06:49:15 +00:00
christos
b300b74469
Disable SYSTRACE by default on all kernels (discussed with core)
2006-08-12 15:29:52 +00:00
drochner
84f50d1b92
don't install <machine/db_machdep.h>, this is kernel only
2006-07-26 19:54:56 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
gdamore
34537908ab
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
...
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.
Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.
This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.
Approved by core@. Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
liamjfoy
aeee5deab9
Add CARP to GENERIC kernel configs. CARP is not enabled by default.
...
ok: christos
2006-06-28 15:19:27 +00:00
lukem
b1abc055c0
support MAKEVERBOSE
2006-06-28 09:27:17 +00:00
lukem
b03adcaa93
Convert to using CC instead of LD, as LDFLAGS is for CC not LD.
2006-06-28 02:20:44 +00:00
he
b1682c2909
Make use of -Wno-pointer-sign conditional on HAVE_GCC > 3, and include
...
<bsd.own.mk> so that HAVE_GCC is appropriately defined.
2006-06-27 06:37:26 +00:00
mrg
6294d76e22
fix the swap16/swap32 macros to actually swap the argument,
...
not discard the swapped value.
2006-06-26 19:48:41 +00:00
mrg
f71386cb37
-fwritable-strings is not valid for GCC4.
2006-06-25 05:12:29 +00:00
mrg
404c14b93f
apply -Wno-pointer-sign and -fno-strict-aliasing.
2006-06-25 05:11:42 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
drochner
1168954c68
adjust comments for the new location of wskbdmap_mfii.c,
...
addresses PR kern/33290 by henry nelson
2006-04-19 10:31:44 +00:00
jmmv
aec18036fd
Remove the getwschar and putwschar accessops from wsdisplay drivers as
...
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.
As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.
Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
yamt
ec5a93183a
merge yamt-uio_vmspace branch.
...
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
thorpej
132ce1f07f
Use device_is_a()
2006-02-26 05:24:52 +00:00
thorpej
458b3e43f7
Use device_parent().
2006-02-23 05:37:46 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
cube
6ff13154dd
Remove 'count' argument for pseudo-devices that ignore it
...
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo
e1c6b6ed0f
bpfilter doesn't accept count anymore.
2006-02-04 02:53:13 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
thorpej
c97c3de6e9
Remove the tablet line discipline.
2005-12-20 05:35:27 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
elad
4591e5acfd
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
...
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
ff9b47d69e
Adjust comments for options FFS_NO_SNAPSHOT.
...
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
yamt
ba38016298
implement splraiseipl() for the following ports.
...
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
2005-11-27 14:01:45 +00:00
thorpej
cfc81086d9
swcr -> swcrypto
2005-11-25 16:41:31 +00:00
thorpej
7385cdd346
"pseudo-device crypto" really refers to the /dev/crypto API to the
...
opencrypto framework, not the framework itself. Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24
Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
...
commented out).
2005-11-25 16:30:23 +00:00
yamt
bc21da4cfb
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
...
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
2005-11-24 13:08:32 +00:00
itohy
9a9aac9079
pwr_sw_ctrl(): do not panic() if panic has already happened
...
to avoid infinite panic recursion (this is called by cpu_reboot()).
2005-10-15 16:16:38 +00:00
itohy
d1e6cc9002
Add code to parse device name specified in the boot prompt.
...
Update boot version to 1.3.
2005-10-15 11:34:17 +00:00