Author: pschweitzer
Date: Fri May 27 12:13:49 2016
New Revision: 71428
URL:
http://svn.reactos.org/svn/reactos?rev=71428&view=rev
Log:
[PSDK]
Now, ReactOS recognizes the FFS partition :-)
CORE-11040
Modified:
trunk/reactos/sdk/include/psdk/ntdddisk.h
trunk/reactos/sdk/include/psdk/winioctl.h
Modified: trunk/reactos/sdk/include/psdk/ntdddisk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/ntdddisk.…
==============================================================================
--- trunk/reactos/sdk/include/psdk/ntdddisk.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/ntdddisk.h [iso-8859-1] Fri May 27 12:13:49 2016
@@ -223,6 +223,9 @@
#ifdef __REACTOS__
#define PARTITION_OLD_LINUX 0x43
#define PARTITION_LINUX 0x83
+#define PARTITION_FREEBSD 0xA5
+#define PARTITION_OPENBSD 0xA6
+#define PARTITION_NETBSD 0xA9
#endif
#define IsFTPartition( PartitionType ) \
@@ -248,8 +251,11 @@
((PartitionType) == PARTITION_FAT32) || \
((PartitionType) == PARTITION_FAT32_XINT13) || \
((PartitionType) == PARTITION_XINT13) || \
- ((PartitionType) == PARTITION_LINUX) || \
- ((PartitionType) == PARTITION_OLD_LINUX))
+ ((PartitionType) == PARTITION_LINUX) || \
+ ((PartitionType) == PARTITION_OLD_LINUX) || \
+ ((PartitionType) == PARTITION_FREEBSD) || \
+ ((PartitionType) == PARTITION_OPENBSD) || \
+ ((PartitionType) == PARTITION_NETBSD))
#else
#define IsRecognizedPartition(PartitionType) ( \
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) ==
PARTITION_FAT_12)) || \
Modified: trunk/reactos/sdk/include/psdk/winioctl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/winioctl.…
==============================================================================
--- trunk/reactos/sdk/include/psdk/winioctl.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/winioctl.h [iso-8859-1] Fri May 27 12:13:49 2016
@@ -197,6 +197,9 @@
#ifdef __REACTOS__
#define PARTITION_OLD_LINUX 0x43
#define PARTITION_LINUX 0x83
+#define PARTITION_FREEBSD 0xA5
+#define PARTITION_OPENBSD 0xA6
+#define PARTITION_NETBSD 0xA9
#endif
#define SERIAL_LSRMST_ESCAPE 0
#define SERIAL_LSRMST_LSR_DATA 1
@@ -597,7 +600,10 @@
((t&~PARTITION_NTFT)==PARTITION_FAT32_XINT13)||\
((t&~PARTITION_NTFT)==PARTITION_XINT13)||\
((t&~PARTITION_NTFT)==PARTITION_LINUX)||\
- ((t&~PARTITION_NTFT)==PARTITION_OLD_LINUX))
+ ((t&~PARTITION_NTFT)==PARTITION_OLD_LINUX)||\
+ ((t&~PARTITION_NTFT)==PARTITION_FREEBSD)||\
+ ((t&~PARTITION_NTFT)==PARTITION_OPENBSD)||\
+ ((t&~PARTITION_NTFT)==PARTITION_NETBSD))
#else
#define IsRecognizedPartition(t)\
(((t&PARTITION_NTFT)&&((t&~VALID_NTFT)==PARTITION_FAT_12))||\