gfxboot: pass current working dir to gfxboot core
commita5d27926e87205e1696e94d9a4200894e1d59c03
authorSteffen Winterfeldt <snwint@suse.de>
Tue, 19 Apr 2011 13:27:26 +0000 (19 15:27 +0200)
committerSebastian Herbszt <herbszt@gmx.de>
Mon, 25 Apr 2011 21:52:20 +0000 (25 23:52 +0200)
tree211fb6c4592c9eb0b5e3f94ed675c9523849c640
parentc53f30a204d710b776c22535fa53818043f6e2f1
gfxboot: pass current working dir to gfxboot core

Pass current working dir to (and back from) gfxboot core via gfx_config
struct. This way I can implement a chdir() in the gfxboot core without
the need for additional 16-bit comboot calls. gfxboot may change the
directory, so you have to read and apply the current setting in boot() (to
read kernel etc. from right location).

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
com32/gfxboot/gfxboot.c