[SETUPLIB] Code re-organization in bootsup.c and fsutil.c.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 17 Oct 2020 18:29:47 +0000 (20:29 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 18 Oct 2020 18:56:16 +0000 (20:56 +0200)
commit593bcce9991d56de97e6e34c8acbf0b1bc1fa0cc
tree2bedd2108688e60c9d60eb6fedd7355e6ec71b65
parentb51b8ee2d527b7a7f640e4a4a740738ce7d34d93
[SETUPLIB] Code re-organization in bootsup.c and fsutil.c.

- Move the actual VBR bootcode installation helpers into fsutil.c
  (they depend on the selected filesystem).

- Introduce InstallBootCodeToDisk() and InstallBootCodeToFile()
  and bootcode.c helpers, in order to replace the several functions
  that were duplicating the same code.
base/setup/lib/CMakeLists.txt
base/setup/lib/bootcode.c [new file with mode: 0644]
base/setup/lib/bootcode.h [new file with mode: 0644]
base/setup/lib/bootsup.c
base/setup/lib/fsutil.c
base/setup/lib/fsutil.h
base/setup/lib/setuplib.h