Commit Graph

177980 Commits

Author SHA1 Message Date
christos
b2fabde467 - add siginfo translation for all arithmetic faults and traps.
- skip the current instruction for all faults, to avoid infinite loops on
  SIGFPE (from OpenBSD)
Info from: http://bitsavers.vt100.net/pdf/dec/vax/archSpec/EK-VAXAR-RM-001_Arch_May82.pdf
2009-02-16 23:55:31 +00:00
jmcneill
c4cff68cbd Fix typo in genfb line 2009-02-16 23:40:14 +00:00
christos
79290a1b6f remove extra args. 2009-02-16 22:50:17 +00:00
jmcneill
50e0e5db4c amd64, i386: The bootloader has been enhanced to support framebuffer
consoles using VESA BIOS extensions. These changes allow the
	x86 ports to work with the genfb(4) driver, and obsoletes
	the i386-only vesafb(4) driver. [jmcneill 20090216]
2009-02-16 22:49:29 +00:00
jmcneill
57d51ea339 Add and enable genfb(4), and remove vesafb(4) section. 2009-02-16 22:43:47 +00:00
jmcneill
77fe169e3d Add and enable genfb(4) 2009-02-16 22:41:32 +00:00
jmcneill
c6d7607b67 Bootloader modifications for generic framebuffer console support on i386
and amd64 where VESA VBE 2.0+ is available.

* Add helper library and stubs to invoke VBE bioscalls.
* Bump HEAP_START as we were already dangerously close to our limits.
* bootdataseg now allows access > 16MB so in the future we can scribble
  on the framebuffer.
* Pass BTINFO_FRAMEBUFFER parameters to kernel when configured.
* VBE modes are configured with the new 'vesa' command. Usage, when present:
    * vesa {enabled|disabled}
      Enable / disable linear framebuffer, default mode is 640x480x8. May
      be changed in the future to determine mode based on VBE/DDC where
      available.
    * vesa list
      List modes supported by the firmware that meet the following criteria:
	* linear framebuffer
	* packed pixel or direct colour mode
    * vesa {modenum|modestr}
      Enable specific VBE mode. The mode can be specified either as a
      VBE mode number (eg. 0x101) or as a string (eg. 800x600x16).
2009-02-16 22:39:30 +00:00
jmcneill
95fed9400a Kernel-side modifications for framebuffer console support on i386 and amd64.
* New BTINFO_FRAMEBUFFER kernel parameter to pass screen configuration
* Early attach support for framebuffer console
* Pass BTINFO_FRAMEBUFFER parameters to genfb in device_register
* Provide hooks to genfb to set VGA DAC palette in 8bpp mode
2009-02-16 22:29:33 +00:00
jmcneill
e04f5ff1b4 Provide callbacks so MD code can explicitly prevent genfb from matching;
works around vga/genfb deathmatches.
2009-02-16 22:24:40 +00:00
uwe
ac97beab45 Add c-backslash-max-column - its default value of 72 is less than what
we set for c-backslash-column, so macros with lines longer than 72
would be formatted icorrectly.

Fix brace-list-entry - it doesn't need extra indentation.  Pointed out
by roy@.  While here use '+ instead of 8 to express "full indentation
step".

XXX: Do we really want brace-list-open indented one step?  It might
work for one-liners, but we have lots of longer init lists that are
formatted with brace-list-open of 0.
2009-02-16 21:37:12 +00:00
bjh21
c4605d6440 Make arckbd(4) compile even if the kernel is lacking wsmouse(4), wskbd(4),
rnd(4), or any combination of thoses.  Thanks to Havard Eidnes for reporting
the build breakage.
2009-02-16 21:36:09 +00:00
christos
29bb9977b6 new openssh 2009-02-16 20:58:29 +00:00
christos
7f8f733829 bump libssh 2009-02-16 20:57:28 +00:00
christos
492ab0239b changes for openssh-5.1 2009-02-16 20:55:45 +00:00
christos
9341d6b102 put back deleted files 2009-02-16 20:55:22 +00:00
christos
abbe9cc1c0 merge changes 2009-02-16 20:53:54 +00:00
is
11927f0b16 synchronize error flags with own comment and with traceroute, as discussed
on tech-net.
2009-02-16 20:36:11 +00:00
macallan
675423a8fd forgot the newport man page 2009-02-16 18:47:51 +00:00
tteras
b1ab726a1a From Paul Moore: Fix a heap corruption bug (yacc return non-null terminated
buffer and sprintf writes over bounds).
2009-02-16 18:36:21 +00:00
mlelstv
c94f3d9355 Don't release CCB twice. Found by code inspection. 2009-02-16 18:05:19 +00:00
christos
9d3c9d9c55 from ftp.openbsd.org 2009-02-16 17:14:22 +00:00
sketch
4d63191c6d + watch me not care. 2009-02-16 15:59:41 +00:00
is
272429c084 This ain't whitespace98. 2009-02-16 13:38:21 +00:00
abs
7d1bb45afc Everyone gets -XSERVER_HAS_FB 2009-02-16 12:41:11 +00:00
abs
595fdaa174 Add edlabel 2009-02-16 12:33:01 +00:00
abs
740916b73c put back edlabel on sun2 (m68000) 2009-02-16 12:30:58 +00:00
tron
e35bbfeae7 Add "edlabel" which now gets build under NetBSD/sparc64. 2009-02-16 12:20:00 +00:00
lukem
be48221f4f A variation on the sign-compare fix for these. 2009-02-16 10:40:45 +00:00
tron
ae34e73bcb Fix -Wsign-compare issue (on NetBSD/sparc64). 2009-02-16 10:34:15 +00:00
haad
16a231294a Libdevmapper 1.02.30 and lvm2tools 2.02.44 were released at 26 january
update cur. version field.
2009-02-16 10:28:57 +00:00
tron
ea68052342 fix -Wsign-compare issue (on sparc64) 2009-02-16 10:23:35 +00:00
cegger
0df426b492 make this compile w/o VLAN 2009-02-16 09:38:41 +00:00
cegger
add29455bf fix media priorities:
IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:

1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T

Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.

Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html

got no comments, no objections.
2009-02-16 08:00:42 +00:00
reinoud
9277c1a831 Remove idd `tag' left over from importing this file into NetBSD.
Thanks Soren :)
2009-02-16 06:46:54 +00:00
lukem
e95441b0ce fix -Wsign-compare issue (on alpha) 2009-02-16 05:22:00 +00:00
lukem
b85aa1ea53 fix -Wsign-compare issue 2009-02-16 03:23:29 +00:00
lukem
d66cb3da2c fix -Wsign-compare issue (on macppc) 2009-02-16 01:19:34 +00:00
christos
7939d24e16 fix sign compare issues. 2009-02-16 00:15:45 +00:00
wiz
4a8dbf1acb Add Xref to pmap(9), from Anon Ymous.
Prepare for HTML output.
2009-02-15 22:49:37 +00:00
christos
5c894153a3 pass lint on _LP64. 2009-02-15 21:55:23 +00:00
christos
d25b6758ed in order for read() to return EINTR we need to use sigaction, not signal,
otherwise SA_RESTART is set.
2009-02-15 21:25:01 +00:00
christos
6ed9cd5e69 don't restart on EINTR, instead return NULL immediately. From Anon Ymous 2009-02-15 21:24:13 +00:00
jmcneill
b16648eaeb Only pull in genfb.h if _KERNEL_OPT is defined. Reported by Kurt Schreiner 2009-02-15 20:21:24 +00:00
mrg
3c12759a90 from yorick hardy:
- build mesa_dri.so, saving ~1.8MB per module (yay, the size of the
   xsetrver set goes down massively now)
 - use the right includes so that dri * mesa use the same headers
 - correct LIBDPLIBS for libdri

tested by jmcneill, and builds fine for me.
2009-02-15 19:00:21 +00:00
jmcneill
2fa3d3184a Use genfb_borrow; drm works with genfb now. 2009-02-15 18:42:20 +00:00
jmcneill
ec798a6e6c Introduce genfb_ops genfb_borrow callback to allow the bus frontend to
lend mappings to drm.
2009-02-15 18:41:49 +00:00
joerg
6a4d107f7d Install pkg_install.conf(5). 2009-02-15 18:24:49 +00:00
pooka
501138e80e regen: putter in synopsis and note about experimental status 2009-02-15 18:01:26 +00:00
pooka
0838b02036 * include "pseudo-device putter" in synopsis as requested by hubertf
* note that rump p2k utilities are currently experimental (noted
  already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
martin
4159709210 fix the formats of a debug printf for the time_t changes. 2009-02-15 13:04:03 +00:00