Method and mobile terminal for controlling display of waiting information during program startup
First Claim
1. A method of controlling display of waiting information during program startup comprising:
- initializing, by a bootloader, a Liquid Crystal Display, LCD, distributing a first video memory, copying or writing a waiting information into the first video memory, copying a first address of the first video memory to an LCD controller, displaying, by the LCD, according to waiting information data in the first video memory and triggering startup of a kernel program; and
during the startup of the kernel program, distributing a second video memory, copying the waiting information data in the first video memory to the second video memory, updating a first address of the second video memory to the LCD controller, and continuously displaying, by the LCD, according to the waiting information data in the second video memory, to enable content displayed on the LCD during the startup of the kernel program to be the same as content displayed on the LCD before the startup of the kernel program, wherein the waiting information data in the second video memory is the same as the waiting information data in the first video memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a mobile terminal for controlling display of waiting information during program startup are disclosed, relating to the field of computers. In the invention, a step of initializing a liquid crystal display (LCD) by a kernel is eliminated, and an LCD controller is reinitialized after the waiting information data in a bootloader display memory is copied to the display memory of the kernel, therefore, the LCD can directly read the waiting information data in the display memory of the kernel according to a display memory first address in the LCD controller. The waiting information data in the bootloader display memory is copied to the display memory of the kernel in advance, therefore, the displayed content is not changed completely for users. In addition, the step of initializing the LCD is eliminated, so that the phenomena of distortion, flashing, blurred screen and the like of the LCD screen display are completely avoided, the display quality during program startup is improved, and better visual experience is brought for users.
-
Citations
17 Claims
-
1. A method of controlling display of waiting information during program startup comprising:
-
initializing, by a bootloader, a Liquid Crystal Display, LCD, distributing a first video memory, copying or writing a waiting information into the first video memory, copying a first address of the first video memory to an LCD controller, displaying, by the LCD, according to waiting information data in the first video memory and triggering startup of a kernel program; and during the startup of the kernel program, distributing a second video memory, copying the waiting information data in the first video memory to the second video memory, updating a first address of the second video memory to the LCD controller, and continuously displaying, by the LCD, according to the waiting information data in the second video memory, to enable content displayed on the LCD during the startup of the kernel program to be the same as content displayed on the LCD before the startup of the kernel program, wherein the waiting information data in the second video memory is the same as the waiting information data in the first video memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A mobile terminal, comprising a memory and a processor, wherein the memory stores program code, and wherein the program code is executable by the processor to implement:
-
initializing, by a bootloader, a Liquid Crystal Display, LCD, distributing a first video memory, copying or writing a waiting information into the first video memory, copying a first address of the first video memory to an LCD controller, displaying, by the LCD, according to waiting information data in the first video memory and triggering startup of a kernel program; and during the startup of the kernel program, distributing a second video memory, copying waiting information data in the first video memory to the second video memory, updating a first address of the second video memory to the LCD controller, and continuously displaying, by the LCD, according to the waiting information data in the second video memory, to enable content displayed on the LCD during the startup of the kernel program to be the same as content displayed on the LCD before the startup of the kernel program, wherein the waiting information data in the second video memory is the same as the waiting information data in the first video memory. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
Specification