Re: [PATCH 2/3] mdacon: make mda_vram_base u16 *

2017-06-14 Thread Bartlomiej Zolnierkiewicz
On Friday, May 12, 2017 10:08:03 AM Jiri Slaby wrote: > Given every user of mda_vram_base expects a pointer, let > mda_vram_base be a pointer to u16. > > The offset calculation in mda_detect had to be adjusted by / 2 (due to > different pointer arithmetic now). > > We introduce a cast to a value

[PATCH 2/3] mdacon: make mda_vram_base u16 *

2017-05-12 Thread Jiri Slaby
Given every user of mda_vram_base expects a pointer, let mda_vram_base be a pointer to u16. The offset calculation in mda_detect had to be adjusted by / 2 (due to different pointer arithmetic now). We introduce a cast to a value returned from VGA_MAP_MEM. But I will change VGA_MAP_MEM to return a

[PATCH 2/3] mdacon: make mda_vram_base u16 *

2016-07-25 Thread Jiri Slaby
Given every user of mda_vram_base expects a pointer, let mda_vram_base be a pointer to u16. The offset calculation in mda_detect had to be adjusted by / 2 (due to different pointer arithmetic now). We introduce a cast to a value returned from VGA_MAP_MEM. But I will change VGA_MAP_MEM to return a