mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
b3cd576737
CORE-13525 This is done so that the caller doesn't need to know details about particular architecture specifics, like VBR, MBR etc. Extra checks and specific handling is also performed for supporting bootloader installation on removable media: - verify whether the media is a floppy or some other removable media, - depending on which, a suitable file system is chosen, - and if the media is not a floppy, do the supplemental partition verifications to determine whether the media is a "super-floppy" (in the partitioning sense).
25 lines
737 B
C
25 lines
737 B
C
/*
|
|
* PROJECT: ReactOS Setup Library
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: Bootloader support functions
|
|
* COPYRIGHT: Copyright 2017-2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
NTSTATUS
|
|
InstallBootManagerAndBootEntries(
|
|
_In_ ARCHITECTURE_TYPE ArchType,
|
|
_In_ PCUNICODE_STRING SystemRootPath,
|
|
_In_ PCUNICODE_STRING SourceRootPath,
|
|
_In_ PCUNICODE_STRING DestinationArcPath,
|
|
_In_ ULONG_PTR Options);
|
|
|
|
NTSTATUS
|
|
InstallBootcodeToRemovable(
|
|
_In_ ARCHITECTURE_TYPE ArchType,
|
|
_In_ PCUNICODE_STRING RemovableRootPath,
|
|
_In_ PCUNICODE_STRING SourceRootPath,
|
|
_In_ PCUNICODE_STRING DestinationArcPath);
|
|
|
|
/* EOF */
|