Commit Graph

178010 Commits

Author SHA1 Message Date
jmcneill 60c3292c48 Use aprint_* 2009-02-17 20:35:35 +00:00
christos a009ca9c11 si_sigval is now si_value. 2009-02-17 19:22:43 +00:00
christos cfd10fe258 add a regression test for sigfpe. Most ports don't pass it right now. 2009-02-17 19:05:22 +00:00
njoly 73766a83b8 Fix mdoc warning (missing .El directive). While here, use a single
list for multiple items.
2009-02-17 18:51:56 +00:00
jmmv fcb5661ef5 Register the atf/test_programs/h_c helper. 2009-02-17 17:30:27 +00:00
jmmv 658941c968 Build and install h_c; from Nicolas Joly in private mail. 2009-02-17 17:29:19 +00:00
jmcneill 3bc515352f Use kmem_alloc instead of malloc for shadowfb 2009-02-17 17:01:41 +00:00
pooka 0497bce990 Default to using threads. This doesn't affect the normal release build. 2009-02-17 16:01:15 +00:00
njoly b01601424d +t_cmsg.debug 2009-02-17 15:03:13 +00:00
christos 78c0289565 Add INDEX_OPCODE() 2009-02-17 13:48:29 +00:00
jmcneill c315121ad0 Cut the amount of spam from acpi devices in roughly half by printing
resources on the same line as autoconf messages. Things like:
  pcppi1 at acpi0 (SPKR, PNP0800)
  pcppi1: io 0x61
become:
  pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
2009-02-17 12:46:01 +00:00
jmcneill 3c220ee07d Use aprint_debug 2009-02-17 12:30:31 +00:00
jmcneill 1592daaedc Shorten est message, use aprint_debug 2009-02-17 12:27:13 +00:00
jmcneill d63fa13cb6 Make platform_print use aprint_debug 2009-02-17 12:24:42 +00:00
jmcneill e56c8e7c79 Make SMBIOS rev. message use aprint_debug (matches i386) 2009-02-17 12:23:33 +00:00
jmcneill 399b654397 x86_genfb_console_screen is only available if NWSDISPLAY > 0 and
NGENFB > 0, spotted by Geoff Wing.
2009-02-17 11:16:10 +00:00
dogcow 0d280a6b94 sig_atomic_t is long on alpha (?!); use %ld and cast to long. 2009-02-17 05:28:32 +00:00
uebayasi 5b1f280b89 To name output files, replace only suffix part exactly. 2009-02-17 05:24:14 +00:00
mrg c68299d5ba link in fmt_scaled.c 2009-02-17 04:07:30 +00:00
mrg 4ee81f134c add mux.c to the link. 2009-02-17 04:03:18 +00:00
dogcow 06804711a0 Fix an embarrassing mistake regarding moving down log files. Reported by
(and fix included in) PR bin/40635 from Jukka Salmi.
2009-02-17 02:56:43 +00:00
lukem d52f6f4b6b fix -Wsign-compare issue (seen on arm), using similar technique
to ../bits64/softfloat-macros
2009-02-17 02:43:39 +00:00
jmcneill 28f60a7907 Print the physical address if available instead of a virtual address. 2009-02-17 02:41:11 +00:00
jmcneill 7075548498 Set clear-screen and cursor-row so the transition from the early console
driver and genfb is seamless. While we're here, clear the screen when
we first attach in case the bootloader scribbled on it.
2009-02-17 02:21:13 +00:00
jmcneill d994f000f0 Add clear-screen and cursor-row properties to allow genfb to persist
screen state from the MD console driver.
2009-02-17 02:19:33 +00:00
jmcneill 26168b4071 PR# port-i386/37026: userconf(4) doesn't work with vesafb(4)
Add early console support for x86 genfb.
2009-02-17 01:42:51 +00:00
jmcneill a0e45b868c Just like i386 cpu_startup, for console drivers that require uvm and pmap
to be initialized, call consinit for a third time here.
2009-02-17 01:39:25 +00:00
christos 5dae591c0c Use the wedge size, not the disk size, from Yorick Hardy 2009-02-17 00:16:35 +00:00
cegger 914a0b8bf0 nuke unused global variable 2009-02-17 00:09:50 +00:00
abs 278c6d188a Cut all non Xserver building ports across to Xorg, tested on vax and
a selection of m68k ports.

The remaining XFree using ports are:
    acorn32 amiga cats dreamcast ews4800mips hpcarm hpcmips hpcsh
    mac68k netwinder newsmips ofppc pmax sgimips sparc sun3 x68k
2009-02-17 00:02:32 +00:00
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