mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:32:59 +00:00
[USETUP][SETUPLIB] Move the bootsup.c code into the setuplib, and perform the necessary adjustments.
Move the bootsup.c code into the setuplib, as the code is generic enough to be used by both USETUP and the 1st-stage GUI installer. svn path=/branches/setup_improvements/; revision=75674
This commit is contained in:
parent
5467cc9493
commit
95a34ef6fc
7 changed files with 147 additions and 111 deletions
|
@ -2,6 +2,7 @@
|
|||
list(APPEND SOURCE
|
||||
arcname.c
|
||||
bldrsup.c
|
||||
bootsup.c
|
||||
filesup.c
|
||||
fsutil.c
|
||||
genlist.c
|
||||
|
|
2361
base/setup/lib/bootsup.c
Normal file
2361
base/setup/lib/bootsup.c
Normal file
File diff suppressed because it is too large
Load diff
47
base/setup/lib/bootsup.h
Normal file
47
base/setup/lib/bootsup.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* ReactOS kernel
|
||||
* Copyright (C) 2002 ReactOS Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Setup Library
|
||||
* FILE: base/setup/lib/bootsup.h
|
||||
* PURPOSE: Bootloader support functions
|
||||
* PROGRAMMER:
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
NTSTATUS
|
||||
InstallMbrBootCodeToDisk(
|
||||
IN PUNICODE_STRING SystemRootPath,
|
||||
IN PUNICODE_STRING SourceRootPath,
|
||||
IN PCWSTR DestinationDevicePathBuffer);
|
||||
|
||||
NTSTATUS
|
||||
InstallVBRToPartition(
|
||||
IN PUNICODE_STRING SystemRootPath,
|
||||
IN PUNICODE_STRING SourceRootPath,
|
||||
IN PUNICODE_STRING DestinationArcPath,
|
||||
IN UCHAR PartitionType);
|
||||
|
||||
NTSTATUS
|
||||
InstallFatBootcodeToFloppy(
|
||||
IN PUNICODE_STRING SourceRootPath,
|
||||
IN PUNICODE_STRING DestinationArcPath);
|
||||
|
||||
/* EOF */
|
|
@ -6,6 +6,8 @@
|
|||
* Copyright 2017-2018 Hermes Belusca-Maito
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <fmifs/fmifs.h>
|
||||
|
||||
typedef struct _FILE_SYSTEM
|
||||
|
|
|
@ -29,6 +29,7 @@ extern HANDLE ProcessHeap;
|
|||
#include "ntverrsrc.h"
|
||||
// #include "arcname.h"
|
||||
#include "bldrsup.h"
|
||||
#include "bootsup.h"
|
||||
#include "filesup.h"
|
||||
#include "fsutil.h"
|
||||
#include "genlist.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue