]> xenbits.xensource.com Git - seabios.git/commit
vgabios: Don't pass vmode_g to vgafb_move_chars() / vgafb_clear_chars()
authorKevin O'Connor <kevin@koconnor.net>
Sat, 18 Oct 2014 01:47:10 +0000 (21:47 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 27 Oct 2014 15:00:32 +0000 (11:00 -0400)
commit7217ae7bea6d07bb0ea780d1a1710d2cce8fe1c1
tree67e36e204b86d8af9b1e37e055c9a439780f2d2e
parentf7f22630fdf50f6da973d9df210b7c8e32849975
vgabios: Don't pass vmode_g to vgafb_move_chars() / vgafb_clear_chars()

Now that a pointer to the current video mode info struct is cached in
memory, it's not necessary to pass the struct into the vgafb code.
The vgafb code can lookup the struct itself.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/vgabios.c
vgasrc/vgabios.h
vgasrc/vgafb.c