#
fdafd315 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
2cce9aa0 |
| 26-Sep-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
vt(4): Make sure vt_switch_timer() has a sleepable context.
Fixes the following panic backtrace:
panic() usbhid_sync_xfer() usbhid_set_report() hid_set_report() hidbus_write() hid_write() hkbd_set_
vt(4): Make sure vt_switch_timer() has a sleepable context.
Fixes the following panic backtrace:
panic() usbhid_sync_xfer() usbhid_set_report() hid_set_report() hidbus_write() hid_write() hkbd_set_leds() hkbd_ioctl_locked() hkbd_ioctl_locked() hkbd_ioctl() kbdmux_ioctl() vt_window_switch() vt_switch_timer()
Differential Revision: https://reviews.freebsd.org/D36715 MFC after: 1 week Sponsored by: NVIDIA Networking
show more ...
|
Revision tags: release/13.1.0, release/12.3.0 |
|
#
ff1c8af8 |
| 20-Sep-2021 |
Mitchell Horne <mhorne@FreeBSD.org> |
vt: use TERMINAL_DECLARE_EARLY() macro
It simplifies the declaration of the driver structures a little. There are no current consumers of this macro, in fact it looks like it was added for exactly t
vt: use TERMINAL_DECLARE_EARLY() macro
It simplifies the declaration of the driver structures a little. There are no current consumers of this macro, in fact it looks like it was added for exactly this purpose.
This decreases the scope of some variables, so rework the initialization in vt_init_logos() such that it doesn't require them.
No functional change intended.
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34820
show more ...
|
#
06296f77 |
| 09-Feb-2022 |
Stefan Grundmann <sg2342@googlemail.com> |
vt: fix splash_cpu logos use of vd_drawrect
In the (extremely unlikely) case of vd->vd_height == vt_logo_sprite_height the vd_drawrect code would write outside of frame-buffer memory.
MFC after: 1
vt: fix splash_cpu logos use of vd_drawrect
In the (extremely unlikely) case of vd->vd_height == vt_logo_sprite_height the vd_drawrect code would write outside of frame-buffer memory.
MFC after: 1 week Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D34220
show more ...
|
#
6c7e4d72 |
| 19-Jan-2022 |
Mark Johnston <markj@FreeBSD.org> |
vt: Use a taskqueue to clear splash_cpu logos
vt_fini_logos() calls vtbuf_grow(), which reallocates the console window's buffer using malloc(M_WAITOK). Because vt_fini_logos() is called via a callo
vt: Use a taskqueue to clear splash_cpu logos
vt_fini_logos() calls vtbuf_grow(), which reallocates the console window's buffer using malloc(M_WAITOK). Because vt_fini_logos() is called via a callout, we end up panicking if INVARIANTS is enabled.
Fix the problem simply by clearing the logos using a timed taskqueue. taskqueue_thread is formally allowed to sleep; of course, if we actually end up sleeping to satisfy the allocation, then we have bigger problems.
PR: 260896 Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33932
show more ...
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
b1460baa |
| 17-Oct-2019 |
Ed Maste <emaste@FreeBSD.org> |
Update Conrad Meyer's email
cem is now a committer
Approved by: cem
|
#
668ee101 |
| 26-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352587 through r352763.
|
#
df1bc27a |
| 25-Sep-2019 |
Toomas Soome <tsoome@FreeBSD.org> |
vt: use colors from terminal emulator
Instead of hardcoded colors, use terminal state. This also means, we need to record the pointer to terminal state with vtbuf.
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
#
0374e156 |
| 08-Jul-2019 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Ignore kern.vt.splash_cpu without graphics
When the system has no graphical console, such as bhyve in common configurations, ignore kern.vt.splash_cpu, instead of panicking on INVARIANTS kernels.
R
Ignore kern.vt.splash_cpu without graphics
When the system has no graphical console, such as bhyve in common configurations, ignore kern.vt.splash_cpu, instead of panicking on INVARIANTS kernels.
Reviewed by: cem dumbbell MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D20877
show more ...
|
Revision tags: release/11.3.0 |
|
#
0269ae4c |
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
#
e2e050c8 |
| 20-May-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces hea
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no longer contain needed definitions. The remainder of the patch addresses adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by sys/mutex.h since r326106 (but silently protected by header pollution prior to this change).
No functional change (intended). Of course, any out of tree modules that relied on header pollution for sys/eventhandler.h, sys/lock.h, or sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
show more ...
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
4e5a8fdb |
| 16-May-2018 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
vt(4): Resume vt_timer() in vtterm_post_input() only
There is no need to try to resume it after each smaller operations (putchar, cursor_position, copy, fill).
The resume function already checks if
vt(4): Resume vt_timer() in vtterm_post_input() only
There is no need to try to resume it after each smaller operations (putchar, cursor_position, copy, fill).
The resume function already checks if the timer is armed before doing anything, but it uses an atomic cmpset which is expensive. And resuming the timer at the end of input processing is enough.
While here, we also skip timer resume if the input is for another windows than the currently displayed one. I.e. if `ttyv0` is currently displayed, any changes to `ttyv1` shouldn't resume the timer (which would refresh `ttyv0`).
By doing the same benchmark as r333669, I get: * vt(4), before r333669: 1500 ms * vt(4), with this patch: 760 ms * syscons(4): 700 ms
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
554491ff |
| 20-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r316992 through r317215.
|
#
2696ce47 |
| 20-Apr-2017 |
Jung-uk Kim <jkim@FreeBSD.org> |
Revert r316796. It is not necessary since r317173.
|
#
bae56e46 |
| 14-Apr-2017 |
Jung-uk Kim <jkim@FreeBSD.org> |
Attempt to clear logos more thoroughly.
PR: 202288 Reviewed by: cem
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
#
f94594b3 |
| 12-Sep-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Finish merging from head, messed up in previous attempt
|
#
b5ff185e |
| 12-Sep-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
00176600 |
| 09-Sep-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Merge r286744-r287584 from head.
|
#
d9442b10 |
| 05-Sep-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r286858 through r287489.
|
#
23a32822 |
| 25-Aug-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from HEAD
|
#
15d449a5 |
| 21-Aug-2015 |
Conrad Meyer <cem@FreeBSD.org> |
vt_cpulogos: Resize all terms/windows when tearing down logos
PR: 202288 (partial) Tested by: Jakob Alvermark Reviewed by: ed Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division
vt_cpulogos: Resize all terms/windows when tearing down logos
PR: 202288 (partial) Tested by: Jakob Alvermark Reviewed by: ed Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3388
show more ...
|
#
ab875b71 |
| 14-Aug-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head, primarily for the 1.14.4.0 firmware.
|