Op zaterdag 24-12-2011 om 18:57 uur [tijdzone -0500], schreef Kevin O'Connor:
On Sun, Dec 25, 2011 at 12:51:19AM +0100, Nils wrote:
Hi Kevin,
You wrote:
Over the last few days I've been looking through the vga bios code, and I observed some areas for improvement.
-Kevin
Kevin O'Connor (6): vgabios: Define video_save_pointer_table layout. vgabios: Minor - use segoff_s for static_functionality ptr. vgabios: Extend information in internal vgamode_s struct. vgabios: Use vgamode_s instead of video_param_table in code. vgabios: Generate video_param_table at runtime. vgabios: Place a signature at offset 0x1e of the rom.
With that patchset i get following error:
Compiling whole program out/vgaccode.16.s vgasrc/vgatables.c: In function 'build_video_param': vgasrc/vgatables.c:66: warning: implicit declaration of function 'memcpy_far' src/util.c:163: note: previous definition of 'memcpy_far' was here vgasrc/vgatables.c:66: error: incompatible implicit declaration of function 'memcpy_far' src/util.c:163: note: previous definition of 'memcpy_far' was here make: *** [out/vgaccode.16.s] Error 1
Same thing - it needs #include "util.h"
-Kevin
That fixed it !
Thanks,Nils.