mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Move the PC98_[MS]ID_* defines from g_part_pc98.c to diskpc98.h.
Reviewed by: marcel
This commit is contained in:
parent
2c52c7f05d
commit
8753b93d95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189695
@ -45,14 +45,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "g_part_if.h"
|
||||
|
||||
#define PC98_MID_BOOTABLE 0x80
|
||||
#define PC98_MID_MASK 0x7f
|
||||
#define PC98_MID_386BSD 0x14
|
||||
|
||||
#define PC98_SID_ACTIVE 0x80
|
||||
#define PC98_SID_MASK 0x7f
|
||||
#define PC98_SID_386BSD 0x44
|
||||
|
||||
#define SECSIZE 512
|
||||
|
||||
struct g_part_pc98_table {
|
||||
|
@ -42,9 +42,17 @@
|
||||
#define DOSMAGICOFFSET 510
|
||||
#define DOSMAGIC 0xAA55
|
||||
|
||||
#define DOSMID_386BSD (0x14|0x80) /* 386BSD | bootable */
|
||||
#define DOSSID_386BSD (0x44|0x80) /* 386BSD | active */
|
||||
#define DOSPTYP_386BSD (DOSSID_386BSD << 8 | DOSMID_386BSD)
|
||||
#define PC98_MID_BOOTABLE 0x80
|
||||
#define PC98_MID_MASK 0x7f
|
||||
#define PC98_MID_386BSD 0x14
|
||||
|
||||
#define PC98_SID_ACTIVE 0x80
|
||||
#define PC98_SID_MASK 0x7f
|
||||
#define PC98_SID_386BSD 0x44
|
||||
|
||||
#define DOSMID_386BSD (PC98_MID_386BSD | PC98_MID_BOOTABLE)
|
||||
#define DOSSID_386BSD (PC98_SID_386BSD | PC98_SID_ACTIVE)
|
||||
#define DOSPTYP_386BSD (DOSSID_386BSD << 8 | DOSMID_386BSD)
|
||||
|
||||
struct pc98_partition {
|
||||
unsigned char dp_mid;
|
||||
|
Loading…
Reference in New Issue
Block a user