ReactOS 0.4.16-dev-981-g80eb313
|
#include "precomp.h"
#include <ntddstor.h>
#include "bldrsup.h"
#include "devutils.h"
#include "filesup.h"
#include "partlist.h"
#include "bootcode.h"
#include "fsutil.h"
#include "setuplib.h"
#include "bootsup.h"
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _ENUM_REACTOS_ENTRIES_DATA |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _ENUM_REACTOS_ENTRIES_DATA | ENUM_REACTOS_ENTRIES_DATA |
typedef struct _ENUM_REACTOS_ENTRIES_DATA * | PENUM_REACTOS_ENTRIES_DATA |
Variables | |
BOOLEAN | IsUnattendedSetup |
Definition at line 168 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker(), InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 190 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
Definition at line 57 of file bootsup.c.
Referenced by CreateFreeLoaderIniForReactOS(), and CreateFreeLoaderIniForReactOSAndBootSector().
|
static |
Definition at line 317 of file bootsup.c.
Referenced by UpdateBootIni(), and UpdateFreeLoaderIni().
NTSTATUS GetDeviceInfo | ( | _In_opt_ PCWSTR | DeviceName, |
_In_opt_ HANDLE | DeviceHandle, | ||
_Out_ PFILE_FS_DEVICE_INFORMATION | DeviceInfo | ||
) |
Definition at line 1623 of file bootsup.c.
Referenced by DECLARE_INTERFACE_().
NTSTATUS GetDeviceInfo_UStr | ( | _In_opt_ PCUNICODE_STRING | DeviceName, |
_In_opt_ HANDLE | DeviceHandle, | ||
_Out_ PFILE_FS_DEVICE_INFORMATION | DeviceInfo | ||
) |
Definition at line 1580 of file bootsup.c.
Referenced by GetDeviceInfo(), InstallBootcodeToRemovable(), and InstallBootManagerAndBootEntries().
|
static |
Definition at line 623 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker(), InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 691 of file bootsup.c.
Referenced by InstallFatBootcodeToPartition().
NTSTATUS NTAPI InstallBootcodeToRemovable | ( | _In_ ARCHITECTURE_TYPE | ArchType, |
_In_ PCUNICODE_STRING | RemovableRootPath, | ||
_In_ PCUNICODE_STRING | SourceRootPath, | ||
_In_ PCUNICODE_STRING | DestinationArcPath | ||
) |
Definition at line 1830 of file bootsup.c.
Referenced by BootLoaderRemovableDiskPage(), and PrepareAndDoCopyThread().
|
static |
Definition at line 886 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker(), InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
NTSTATUS NTAPI InstallBootManagerAndBootEntries | ( | _In_ ARCHITECTURE_TYPE | ArchType, |
_In_ PCUNICODE_STRING | SystemRootPath, | ||
_In_ PCUNICODE_STRING | SourceRootPath, | ||
_In_ PCUNICODE_STRING | DestinationArcPath, | ||
_In_ ULONG_PTR | Options | ||
) |
Installs FreeLoader on the system and configure the boot entries.
[in] | ArchType | The target architecture. |
[in] | SystemRootPath | The system partition path, where the FreeLdr boot manager and its settings are saved to. |
[in] | SourceRootPath | The installation source, where to copy the FreeLdr boot manager from. |
[in] | DestinationArcPath | The ReactOS installation path in ARC format. |
[in] | Options | For BIOS-based PCs: LOBYTE: 0: Install only on VBR; 1: Install on both VBR and MBR. 2: Install on removable disk. |
Definition at line 1674 of file bootsup.c.
Referenced by BootLoaderHardDiskPage(), InstallBootcodeToRemovable(), and PrepareAndDoCopyThread().
|
static |
Helper for InstallBootManagerAndBootEntries().
[in] | ArchType | |
[in] | SystemRootPath | See InstallBootManagerAndBootEntries() parameters. |
[in] | DiskNumber | The NT disk number of the system disk that contains the system partition. |
[in] | DiskStyle | The partitioning style of the system disk. |
[in] | IsSuperFloppy | Whether the system disk is a super-floppy. |
[in] | FileSystem | The file system of the system partition. |
[in] | SourceRootPath | |
[in] | DestinationArcPath | |
[in] | Options | See InstallBootManagerAndBootEntries() parameters. |
Definition at line 1484 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntries().
|
static |
Definition at line 1213 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 923 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 770 of file bootsup.c.
Referenced by InstallMbrBootCodeToDisk().
|
static |
Definition at line 835 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker().
|
static |
Definition at line 1312 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 1409 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker().
Definition at line 518 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
Definition at line 558 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 45 of file bootsup.c.
Referenced by CreateFreeLoaderIniForReactOSAndBootSector(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBootcodeToRemovable(), InstallBootManagerAndBootEntries(), IsThereAValidBootSector(), and SaveBootSector().
|
static |
Definition at line 456 of file bootsup.c.
Referenced by InstallFatBootcodeToPartition().
Definition at line 397 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
|
extern |
Definition at line 26 of file setuplib.c.
Referenced by CheckUnattendedSetup(), CreateFreeLoaderReactOSEntries(), InitializeSetup(), InstallSetupInfFile(), and UpdateRegistry().