vt_core.c (273296) | vt_core.c (273545) |
---|---|
1/*- 2 * Copyright (c) 2009, 2013 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Portions of this software were developed by Oleksandr Rybalko --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2009, 2013 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Portions of this software were developed by Oleksandr Rybalko --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: stable/10/sys/dev/vt/vt_core.c 273296 2014-10-20 01:01:55Z emaste $"); | 34__FBSDID("$FreeBSD: stable/10/sys/dev/vt/vt_core.c 273545 2014-10-23 13:32:01Z dumbbell $"); |
35 36#include "opt_compat.h" 37 38#include <sys/param.h> 39#include <sys/consio.h> 40#include <sys/eventhandler.h> 41#include <sys/fbio.h> 42#include <sys/kbio.h> --- 2152 unchanged lines hidden (view full) --- 2195 return (0); 2196 default: 2197 return (EINVAL); 2198 } 2199 } 2200 case PIO_VFONT: { 2201 struct vt_font *vf; 2202 | 35 36#include "opt_compat.h" 37 38#include <sys/param.h> 39#include <sys/consio.h> 40#include <sys/eventhandler.h> 41#include <sys/fbio.h> 42#include <sys/kbio.h> --- 2152 unchanged lines hidden (view full) --- 2195 return (0); 2196 default: 2197 return (EINVAL); 2198 } 2199 } 2200 case PIO_VFONT: { 2201 struct vt_font *vf; 2202 |
2203 if (vd->vd_flags & VDF_TEXTMODE) 2204 return (ENOTSUP); 2205 |
|
2203 error = vtfont_load((void *)data, &vf); 2204 if (error != 0) 2205 return (error); 2206 2207 error = vt_change_font(vw, vf); 2208 vtfont_unref(vf); 2209 return (error); 2210 } --- 443 unchanged lines hidden --- | 2206 error = vtfont_load((void *)data, &vf); 2207 if (error != 0) 2208 return (error); 2209 2210 error = vt_change_font(vw, vf); 2211 vtfont_unref(vf); 2212 return (error); 2213 } --- 443 unchanged lines hidden --- |