[FREELDR] Simplify code by using a AddReactOSArcDiskInfo() helper, and few extra...
[reactos.git] / boot / freeldr / freeldr / include / arch / archwsup.h
1 /*
2 * FreeLoader
3 *
4 * Copyright (C) 2003 Eric Kohl
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 #pragma once
22
23 /* PROTOTYPES ***************************************************************/
24
25 VOID
26 AddReactOSArcDiskInfo(
27 IN PSTR ArcName,
28 IN ULONG Signature,
29 IN ULONG Checksum,
30 IN BOOLEAN ValidPartitionTable);
31
32 //
33 // ARC Component Configuration Routines
34 //
35 VOID
36 NTAPI
37 FldrSetIdentifier(
38 IN PCONFIGURATION_COMPONENT_DATA ComponentData,
39 IN PCHAR IdentifierString
40 );
41
42 VOID
43 NTAPI
44 FldrSetConfigurationData(
45 IN PCONFIGURATION_COMPONENT_DATA ComponentData,
46 IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
47 IN ULONG Size
48 );
49
50 VOID
51 NTAPI
52 FldrCreateSystemKey(
53 OUT PCONFIGURATION_COMPONENT_DATA *SystemKey
54 );
55
56 VOID
57 NTAPI
58 FldrCreateComponentKey(
59 IN PCONFIGURATION_COMPONENT_DATA SystemKey,
60 IN CONFIGURATION_CLASS Class,
61 IN CONFIGURATION_TYPE Type,
62 IN IDENTIFIER_FLAG Flags,
63 IN ULONG Key,
64 IN ULONG Affinity,
65 IN PCHAR IdentifierString,
66 IN PCM_PARTIAL_RESOURCE_LIST ResourceList,
67 IN ULONG Size,
68 OUT PCONFIGURATION_COMPONENT_DATA *ComponentKey
69 );
70
71 /* EOF */