Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\video.c Create Date:2022-07-28 07:27:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:restore_screen

Proto:static void restore_screen(void)

Type:void

Parameter:Nothing

259  xs = 0x07
260  ys = 0x0e
262  dst = 0
263  src = data
266  If Graphics mode with linear frame buffer Then Return
269  If Not src Then Return
274  set_fs(video_segment)
275  When y < ys cycle
278  If y < y Then
279  copy = If xs < x Then xs Else x
280  py.S
281  dst += copy * sizeof(u16)
282  src += x
283  npad = If xs < x Then 0 Else xs - x
284  Else
285  npad = xs
290  asm volatile
303  If curx >= xs Then curx = xs - 1
305  If cury >= ys Then cury = ys - 1
308  SPDX-License-Identifier: GPL-2.0-or-later
309  ah = 0x02
310  dh = cury
311  dl = curx
312  intcall(0x10, & ireg, NULL)
314  store_cursor_position()
Caller
NameDescribe
set_video