[coreboot] libpayload: make cursor position available to payloads

Stefan Reinauer stepan at coresystems.de
Mon Aug 11 17:18:14 CEST 2008


Jordan Crouse wrote:
>>  
>> +void video_console_get_cursor(unsigned int *x, unsigned int *y, unsigned int *en)
>> +{
>> +	if (console->get_cursor)
>> +		console->get_cursor(&cursorx, &cursory, &cursor_enabled);
>>     
>
> Oops - I think you forgot to rename some variables here.
> Also, you might want to set the return values to zero if console->get_cursor
> doesn't exist.
>
>   
d'uh.. of course.



-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: video_console_cursor.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080811/ba0f7c34/attachment.ksh>


More information about the coreboot mailing list