Rename util.c to string.c and introduce string.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
build: Perform compile checking on vgasrc code.

Perform a compile check on each individual C file of the vgabios code
similar to the way that the main bios code does individual C compile
tests.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move stacks.c definitions from util.h to new file stacks.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move romfile definitions from util.h to new file romfile.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move malloc code from pmm.c to new files malloc.c and malloc.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move function definitions for output.c from util.h to new file output.h.

Also, sort the order of include files in the c files.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move definition of struct segoff_s from farptr.h to types.h.

The segoff_s definition is used by a number of header files that would
not otherwise need farptr.h, so move it to a more central location.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
build: Fix import of gcc dependency files.

Make sure dependency file import works with new hw/ and fw/
sub-directories.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move pirtable definitions from hw/pci.h to std/pirtable.h and util.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move optionroms.h to std/optionrom.h and util.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move vbe.h to std/vbe.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move fw/LegacyBios.h to std/LegacyBios.h and remove csm.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move fw/smbios.h to std/smbios.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move fw/mptable.h to std/mptable.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move fw/acpi.h to std/acpi.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move pnpbios definition to new file std/pnpbios.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move pmm definitions to new file std/pmm.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Split disk.h into block.h and std/disk.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Move standard bda type info from biosvar.h to std/bda.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Merge bmp.h, boot.h, jpeg.h, and post.h into util.h.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>