aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update man-pages to correctly refer to changed pathes and naming conventionsStefan Eßer2014-08-262-4/+22
| | | | | | | | | for systems with vt(4) consoles. MFC after: 3 days Notes: svn path=/head/; revision=270653
* Remove band.aid that made kbdcontrol lookup keymap files in the sysconsStefan Eßer2014-08-261-1/+1
| | | | | | | | path even under vt, which is no longer useful, since the syscons keymap files have been converted and committed for use by vt. Notes: svn path=/head/; revision=270652
* Introduce missing definition for LIBTERMCAPWEnji Cooper2014-08-261-0/+1
| | | | | | | | | | | | Some Makefiles expect this value to exist Approved by: rpaulo (mentor) MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762 Notes: svn path=/head/; revision=270651
* Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd"Enji Cooper2014-08-264-8/+8
| | | | | | | | | | | | | Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762 Notes: svn path=/head/; revision=270650
* Fix "make checkdpadd" by "spoofing" DPADDEnji Cooper2014-08-261-0/+1
| | | | | | | | | Approved by: jmmv (mentor) Phabric: D631 PR: 192769 Notes: svn path=/head/; revision=270649
* Fix up races with f_seqcount handling.Mateusz Guzik2014-08-263-18/+17
| | | | | | | | | | | | It was possible that the kernel would overwrite user-supplied hint. Abuse vnode lock for this purpose. In collaboration with: kib MFC after: 1 week Notes: svn path=/head/; revision=270648
* Add references to vt(4) and the configuration files in /usr7share/vt whereStefan Eßer2014-08-2610-15/+67
| | | | | | | | | | | | appropriate (i.e. where syscons was already mentioned and vt supports the feature). Comments in defaults/rc.conf are updated to match the contents of the modified man-page rc.conf(5). Reviewed by: pluknet, emaste MFC after: 3 days Notes: svn path=/head/; revision=270647
* Fix typo: s/mac_rev/mac_ver/Kevin Lo2014-08-261-1/+1
| | | | | | | Submitted by: Stefan Sperling <stsp at openbsd dot org> Notes: svn path=/head/; revision=270643
* vt_vga: Use Write Mode 0 to draw group of 8 pixels using 3 or more colorsJean-Sébastien Pédron2014-08-251-47/+119
| | | | | | | | | | This replaces the method based on Write Mode 3, which required reads from the video memory to load the latches. MFC after: 1 week Notes: svn path=/head/; revision=270620
* vt(4): Intialize drawable area rectangle each time a font is loadedJean-Sébastien Pédron2014-08-251-14/+35
| | | | | | | | | | This also fixes a problem where early in boot, the area was zero, leading to nothing displayed for a few seconds. MFC after: 1 week Notes: svn path=/head/; revision=270618
* vt(4): Store a rectangle for the drawable area, not just the top-left cornerJean-Sébastien Pédron2014-08-256-51/+68
| | | | | | | | | | | This allows backends to verify they do not draw outside of this area. This fixes a bug in vt_vga where the text was happily drawn over the right and bottom margins, when using the Gallant font. MFC after: 1 week Notes: svn path=/head/; revision=270613
* vt(4): The cursor coordinates are relative to the drawn areaJean-Sébastien Pédron2014-08-251-8/+4
| | | | | | | | | | | | | ... not the whole screen. Don't use font offsets in vt_mark_mouse_position_as_dirty(). This fixes a bug where the mouse position wasn't marked as dirty when approaching the borders of the drawn area. MFC after: 1 week Notes: svn path=/head/; revision=270589
* Rather than using an hardcoded reclaim age, rely on an LRU-like approachDavide Italiano2014-08-251-36/+19
| | | | | | | | | | | | for dirhash cache, setting a target percent to reclaim (exposed via SYSCTL). This allows to always make some amount of progress keeping the maximum reclaim age dynamic. Tested by: pho Reviewed by: jhb Notes: svn path=/head/; revision=270588
* vt(4): Take font offset into account in vt_is_cursor_in_area()Jean-Sébastien Pédron2014-08-251-2/+2
| | | | | | | | | | | This fixes a "General protection fault" in vt_vga, where vt_is_cursor_in_area() erroneously reported that the cursor was over the text. This led to negative integers stored in "unsigned int" and chaos. MFC after: 1 week Notes: svn path=/head/; revision=270587
* drm/i915: Disable the build of i915 on PC98Jean-Sébastien Pédron2014-08-251-1/+3
| | | | | | | | | | This module is of no use on this platform and now, i915 depends on ACPI anyway. Suggested by: nyan@ Notes: svn path=/head/; revision=270572
* drm/i915: Add opt_acpi.h and acpi_if.h to the source filesJean-Sébastien Pédron2014-08-251-2/+12
| | | | | | | While here, sort the list of generated source files. Notes: svn path=/head/; revision=270571
* The standard we compile libc++ with is called c++11 not c++0x.Roman Divacky2014-08-251-1/+1
| | | | Notes: svn path=/head/; revision=270522
* Since the size of GPT entry may differ from the sizeof(struct gpt_ent),Andrey V. Elsukov2014-08-251-4/+4
| | | | | | | | | | use the size from GPT header to iterate entries. Suggested by: marcel@ MFC after: 1 week Notes: svn path=/head/; revision=270521
* Update these to make them actually compile!Adrian Chadd2014-08-252-4/+5
| | | | | | | | | Tested: * cross compilation to MIPS Notes: svn path=/head/; revision=270520
* Fix "make checkdpadd" for lib/libc when MK_SSP != noEnji Cooper2014-08-252-0/+2
| | | | | | | | | | | | | Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in lib/libc when MK_SSP != no Approved by: rpaulo (mentor) MFC after: 3 days Phabric: D675 (as part of a larger diff) PR: 192728 Notes: svn path=/head/; revision=270519
* Fix a typo to catch correct condition.Hiren Panchasara2014-08-251-1/+1
| | | | Notes: svn path=/head/; revision=270518
* Allow it to compile again.Adrian Chadd2014-08-251-2/+2
| | | | Notes: svn path=/head/; revision=270517
* i915 driver - enable opregion handle; program CADL.Adrian Chadd2014-08-253-31/+82
| | | | | | | | | | | | | | | | | | | | | | add opregion handling for drm2 - which exposes some ACPI video configuration pieces that some Lenovo laptop models use to flesh out which video device to speak to. This enables the brightness control in ACPI to work these models. The CADL bits are also important - it's used to figure out which ACPI events to hook the brightness buttons into. It doesn't yet seem to work for me, but it does for the OP. Tested: * Lenovo X230 (mine) * OP: ASUS UX51VZ PR: 190186 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Reviewed by: dumbbell Notes: svn path=/head/; revision=270516
* If the VM was reset via "/sbin/reboot" or "shutdown -r",Craig Rodrigues2014-08-251-1/+2
| | | | | | | | | | then it is no longer necessary to "bhyvectl --destroy" the VM when it reboots. Move the "bhyvectl --destroy" outside of the while loop. Reviewed by: neel Notes: svn path=/head/; revision=270513
* Add comment which describes the exit status codes returned fromCraig Rodrigues2014-08-251-0/+8
| | | | | | | | | /usr/sbin/bhyve. These are in src/usr.sbin/bhyve/bhyverun.c. Reviewed by: neel Notes: svn path=/head/; revision=270512
* Catch up to gcc 3.3 -> 3.4 upgrade.Don Lewis2014-08-241-0/+196
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=270510
* Restore the correct value when disabling probes. Otherwise the instrumentedMark Johnston2014-08-241-3/+3
| | | | | | | | | | | tracepoints would continue to generate traps, which would be ignored but could consume noticeable amounts of CPU if, say, all functions in the kernel were instrumented. X-MFC-With: r270067 Notes: svn path=/head/; revision=270508
* Fix bug that, assuming a/ is a root of NFS filesystem mounted on autofs,Edward Tomasz Napierala2014-08-241-3/+0
| | | | | | | | | | | prevented "mv a/from a/to" from working, while "cd a && mv from to" was ok. PR: 192948 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270507
* Fix a bug in r265255: only return NULL if the requested map wasn't found.Mark Johnston2014-08-241-4/+6
| | | | | | | | Submitted by: Luke Chang-Hsien Tsai <luke.tw@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=270506
* Optimize f_which() to be slightly faster still.Devin Teske2014-08-241-3/+3
| | | | Notes: svn path=/head/; revision=270505
* Revert the handling of all siginfo sa_flags except SA_SIGINFO to theKonstantin Belousov2014-08-241-8/+8
| | | | | | | | | | | | pre-r270321. Namely, the flags are preserved for SIG_DFL and SIG_IGN dispositions. Requested and reviewed by: jilles Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=270504
* vt_vga: Fix the display of the splash screenJean-Sébastien Pédron2014-08-241-6/+7
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=270485
* Wrap a long line.Glen Barber2014-08-241-1/+2
| | | | | | | | | MFC after: 3 days X-MFC-with: r270417, r270418, r270455 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270457
* Plug a memory leak in case of failed lookups in capability mode.Mateusz Guzik2014-08-241-25/+16
| | | | | | | | | Put common cnp cleanup into one function and use it for this purpose. MFC after: 1 week Notes: svn path=/head/; revision=270456
* Set OSREL and UNAME_r in release/release.sh when buildingGlen Barber2014-08-241-1/+5
| | | | | | | | | | | | ports to prevent ports build failures from killing the release build. MFC after: 3 days X-MFC-with: r270417, r270418 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270455
* Fix handling of keys in executable maps. Previously it was broken for keysEdward Tomasz Napierala2014-08-241-11/+26
| | | | | | | | | | | containing whitespace. PR: 192947 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270454
* vt(4): Fix order of arguments (x <-> y) when showing the splash screenJean-Sébastien Pédron2014-08-241-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=270448
* Use refcount_init in sigacts_alloc.Mateusz Guzik2014-08-241-1/+1
| | | | | | | | | | This change is a no-op, but fixes up an inconsistency introduced with r268634. MFC after: 3 days Notes: svn path=/head/; revision=270447
* vt(4): Remove vd_bitbltchr_tJean-Sébastien Pédron2014-08-242-90/+3
| | | | | | | | | | | It's replaced by vd_bitblt_text_t, which gives more context to the backend and allows it to perform more efficiently when redrawing a given area. MFC after: 1 week Notes: svn path=/head/; revision=270446
* The size of the GPT table can not be less than one sector.Andrey V. Elsukov2014-08-241-4/+5
| | | | | | | | Reported by: rodrigc@ MFC after: 1 week Notes: svn path=/head/; revision=270445
* Fix getppid for traced processes.Mateusz Guzik2014-08-242-6/+24
| | | | | | | | | | | Traced processes always have the tracer set as the parent. Utilize proc_realparent to obtain the right process when needed. Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=270444
* Properly reparent traced processes when the tracer dies.Mateusz Guzik2014-08-241-11/+22
| | | | | | | | | | | Previously they were uncoditionally reparented to init. In effect it was possible that tracee was never returned to original parent. Reviewed by: kib MFC after: 1 week Notes: svn path=/head/; revision=270443
* Change __inline style to be consistent with FreeBSD usage,Peter Grehan2014-08-241-4/+4
| | | | | | | | | | | | and also fix gcc build (on STABLE, when MFCd). PR: 192880 Reviewed by: neel Reported by: ngie MFC after: 1 day Notes: svn path=/head/; revision=270438
* Add "hw.vmm.topology.threads_per_core" and "hw.vmm.topology.cores_per_package"Neel Natu2014-08-241-24/+77
| | | | | | | | | | | | | tunables to modify the default cpu topology advertised by bhyve. Also add a tunable "hw.vmm.topology.cpuid_leaf_b" to disable the CPUID leaf 0xb. This is intended for testing guest behavior when it falls back on using CPUID leaf 0x4 to deduce CPU topology. The default behavior is to advertise each vcpu as a core in a separate soket. Notes: svn path=/head/; revision=270437
* Fix a bug in the emulation of CPUID leaf 0x4 where bhyve was claiming thatNeel Natu2014-08-231-2/+2
| | | | | | | | | | the vcpu had no caches at all. This causes problems when executing applications in the guest compiled with the Intel compiler. Submitted by: Mark Hill (mark.hill@tidalscale.com) Notes: svn path=/head/; revision=270436
* Return the spurious interrupt vector (IRQ7 or IRQ15) if the atpic cannotNeel Natu2014-08-231-2/+8
| | | | | | | | | | | find any unmasked pin with an interrupt asserted. Reviewed by: tychon CR: https://reviews.freebsd.org/D669 MFC after: 1 week Notes: svn path=/head/; revision=270434
* Garbage collect libl dependencyEnji Cooper2014-08-231-2/+2
| | | | | | | | | | | | The application links and runs without libl Approved by: rpaulo (mentor) Phabric: D673 X-MFC with: r270117 Submitted by: trociny Notes: svn path=/head/; revision=270433
* Fix "make checkdpadd" in usr.bin/iscsictl by removing -lfl dependencyEnji Cooper2014-08-232-1/+2
| | | | | | | | Approved by: rpaulo (mentor) MFC after: 1 week Notes: svn path=/head/; revision=270432
* vt(4): Add vd_bitblt_bmp_t callbackJean-Sébastien Pédron2014-08-2310-3/+66
| | | | | | | | | | The code was already there in all backends, we just expose it. This is used to display the splash screen. MFC after: 1 week Notes: svn path=/head/; revision=270431
* Shut down RX before TX - in theory, this should make the chip less likelyAdrian Chadd2014-08-232-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to get upset. The Qualcomm Atheros reference design code goes through significant hacks to shut down RX before TX. It doesn't even try do do it in the driver - it actually makes the DMA stop routines in the HAL shut down RX before shutting down TX. So, to make this work for chips that aren't the AR9380 and later, do it in the driver. Shuffle the TX stop/drain HAL calls to be called *after* the RX stop HAL call. Tested: * AR5413 (STA) * AR5212 (STA) * AR5416 (STA) * AR9380 (STA) * AR9331 (AP) * AR9341 (AP) TODO: * test ar92xx series NIC and the AR5210/AR5211, in case there's something even odder about those. Notes: svn path=/head/; revision=270430