Home | History | Annotate | Download | only in splash
History log of /src/sys/dev/splash/splash.c
RevisionDateAuthorComments
 1.13  25-Apr-2016  khorben Do not panic if the splash screen is bigger than the framebuffer

This fixes a kernel crash if the splash screen does not fit inside the
framebuffer. It should probably be truncated (and optionally centered)
instead, but this avoids a panic in the meantime.

Tested on NetBSD/amd64 with a vesa framebuffer.

From Christian Koch (cfkoch@) of EdgeBSD; thanks!

XXX pull-up(s)
 1.12  02-Jun-2012  martin branches: 1.12.2; 1.12.14; 1.12.16;
Nat Sloss in PR kern/46516: advance fb pointer by stride, not logical
width of the splash image.
 1.11  08-Feb-2011  jmcneill branches: 1.11.4;
%zu for size_t, not %zd
 1.10  07-Feb-2011  jmcneill %d -> %zd for size_t printf format
 1.9  06-Feb-2011  jmcneill - add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
 1.8  22-Feb-2010  ahoka branches: 1.8.2; 1.8.4; 1.8.6;
Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue
 1.7  12-May-2009  cegger branches: 1.7.2;
struct device * -> device_t, no functional changes intended.
 1.6  10-May-2008  martin branches: 1.6.12;
Backout previous: the license sweep touched these files in error, so
restore the old license.
 1.5  28-Apr-2008  martin branches: 1.5.2;
Remove clause 3 and 4 from TNF licenses
 1.4  19-Oct-2007  ad branches: 1.4.20;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.3  29-Oct-2006  freza branches: 1.3.8; 1.3.22; 1.3.24; 1.3.28;
Inline UPDATE_INTERVAL macro, it's only used once. Per mrg@'s note
on previous.
 1.2  28-Oct-2006  freza Use curcpu() instead of referencing &cpu_info_primary (which is only
defined by a handful of ports).

OK by christos@
 1.1  18-Feb-2006  jmcneill branches: 1.1.2; 1.1.10; 1.1.16; 1.1.20; 1.1.22; 1.1.24;
Import splash screen support.
 1.1.24.1  10-Dec-2006  yamt sync with head.
 1.1.22.2  09-Sep-2006  rpaulo sync with head
 1.1.22.1  18-Feb-2006  rpaulo file splash.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:54:40 +0000
 1.1.20.1  18-Nov-2006  ad Sync with head.
 1.1.16.4  27-Oct-2007  yamt sync with head.
 1.1.16.3  30-Dec-2006  yamt sync with head.
 1.1.16.2  21-Jun-2006  yamt sync with head.
 1.1.16.1  18-Feb-2006  yamt file splash.c was added on branch yamt-lazymbuf on 2006-06-21 15:06:57 +0000
 1.1.10.2  22-Apr-2006  simonb Sync with head.
 1.1.10.1  18-Feb-2006  simonb file splash.c was added on branch simonb-timecounters on 2006-04-22 11:39:31 +0000
 1.1.2.2  01-Mar-2006  yamt sync with head.
 1.1.2.1  18-Feb-2006  yamt file splash.c was added on branch yamt-uio_vmspace on 2006-03-01 09:28:28 +0000
 1.3.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.3.24.1  06-Nov-2007  matt sync with HEAD
 1.3.22.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.3.8.1  23-Oct-2007  ad Sync with head.
 1.4.20.2  11-Mar-2010  yamt sync with head
 1.4.20.1  16-May-2009  yamt sync with head
 1.5.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.8.6.2  17-Feb-2011  bouyer Sync with HEAD
 1.8.6.1  08-Feb-2011  bouyer Sync with HEAD
 1.8.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.8.2.1  05-Mar-2011  rmind sync with head
 1.11.4.1  30-Oct-2012  yamt sync with head
 1.12.16.1  29-May-2016  skrll Sync with HEAD
 1.12.14.1  28-Aug-2016  snj Pull up following revision(s) (requested by khorben in ticket #1238):
sys/dev/splash/splash.c: revision 1.13
Do not panic if the splash screen is bigger than the framebuffer
This fixes a kernel crash if the splash screen does not fit inside the
framebuffer. It should probably be truncated (and optionally centered)
instead, but this avoids a panic in the meantime.
Tested on NetBSD/amd64 with a vesa framebuffer.
From Christian Koch (cfkoch@) of EdgeBSD; thanks!
XXX pull-up(s)
 1.12.2.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed