Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150711495
D4407.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D4407.diff
View Options
Index: usr.bin/mkimg/mbr.c
===================================================================
--- usr.bin/mkimg/mbr.c
+++ usr.bin/mkimg/mbr.c
@@ -45,6 +45,9 @@
#ifndef DOSPTYP_FAT32
#define DOSPTYP_FAT32 0x0b
#endif
+#ifndef DOSPTYP_PPCBOOT
+#define DOSPTYP_PPCBOOT 0x41
+#endif
#ifndef DOSPTYP_EFI
#define DOSPTYP_EFI 0xef
#endif
@@ -56,6 +59,7 @@
{ ALIAS_FAT32, ALIAS_INT2TYPE(DOSPTYP_FAT32) },
{ ALIAS_FREEBSD, ALIAS_INT2TYPE(DOSPTYP_386BSD) },
{ ALIAS_NTFS, ALIAS_INT2TYPE(DOSPTYP_NTFS) },
+ { ALIAS_PPCBOOT, ALIAS_INT2TYPE(DOSPTYP_PPCBOOT) },
{ ALIAS_NONE, 0 } /* Keep last! */
};
Index: usr.bin/mkimg/scheme.h
===================================================================
--- usr.bin/mkimg/scheme.h
+++ usr.bin/mkimg/scheme.h
@@ -47,6 +47,7 @@
ALIAS_FREEBSD_ZFS,
ALIAS_MBR,
ALIAS_NTFS,
+ ALIAS_PPCBOOT,
/* end */
ALIAS_COUNT /* Keep last! */
};
Index: usr.bin/mkimg/scheme.c
===================================================================
--- usr.bin/mkimg/scheme.c
+++ usr.bin/mkimg/scheme.c
@@ -61,6 +61,7 @@
{ "freebsd-zfs", ALIAS_FREEBSD_ZFS },
{ "mbr", ALIAS_MBR },
{ "ntfs", ALIAS_NTFS },
+ { "ppcboot", ALIAS_PPCBOOT },
{ NULL, ALIAS_NONE } /* Keep last! */
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 1:18 PM (14 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30820655
Default Alt Text
D4407.diff (1 KB)
Attached To
Mode
D4407: Add ppcboot FAT type. Needed to create a bootable powerpc image.
Attached
Detach File
Event Timeline
Log In to Comment