disk: Add .disk_init() to firmware struct
authorMatt Fleming <matt.fleming@intel.com>
Thu, 8 Dec 2011 14:34:57 +0000 (14:34 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 16 Dec 2011 16:31:19 +0000 (16:31 +0000)
commit94903138ac9a9c35fbdb24bbd90d9c94213395f3
treeb43a2f90978019d127a085bb0b79ac45007096e0
parentde65c9df7c0302d053c4a47f60b31c641cce97a7
disk: Add .disk_init() to firmware struct

Each firmware has its own method of initialising a disk so allow each
firmware backend to implement a separate disk_init() function.

Make all the assembly callers of fs_init() jump through pm_fs_init(),
which allows us to restrict the com32sys_t arguments to only those
callers that really need it, e.g. the .asm files.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/include/syslinux/firmware.h
com32/lib/syslinux/firmware.c
core/diskstart.inc
core/extern.inc
core/fs/diskio.c
core/fs/fs.c
core/include/disk.h
core/isolinux.asm
core/pxelinux.asm