ReactOS 0.4.16-dev-597-gdbf7844
|
#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 |
Definition at line 167 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker(), InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 189 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().
Definition at line 56 of file bootsup.c.
Referenced by CreateFreeLoaderIniForReactOS(), and CreateFreeLoaderIniForReactOSAndBootSector().
|
static |
Definition at line 316 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 1611 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 1568 of file bootsup.c.
Referenced by GetDeviceInfo(), InstallBootcodeToRemovable(), and InstallBootManagerAndBootEntries().
|
static |
Definition at line 622 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker(), InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 690 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 1818 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 1662 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 1472 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntries().
|
static |
Definition at line 1201 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 911 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 769 of file bootsup.c.
Referenced by InstallMbrBootCodeToDisk().
|
static |
Definition at line 834 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker().
|
static |
Definition at line 1300 of file bootsup.c.
Referenced by InstallVBRToPartition().
|
static |
Definition at line 1397 of file bootsup.c.
Referenced by InstallBootManagerAndBootEntriesWorker().
Definition at line 517 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
Definition at line 557 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), InstallMbrBootCodeToDisk(), and InstallNtfsBootcodeToPartition().
|
static |
Definition at line 44 of file bootsup.c.
Referenced by CreateFreeLoaderIniForReactOSAndBootSector(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBootcodeToRemovable(), InstallBootManagerAndBootEntries(), IsThereAValidBootSector(), and SaveBootSector().
|
static |
Definition at line 455 of file bootsup.c.
Referenced by InstallFatBootcodeToPartition().
Definition at line 396 of file bootsup.c.
Referenced by InstallBtrfsBootcodeToPartition(), InstallFatBootcodeToPartition(), and InstallNtfsBootcodeToPartition().