Add support for configuring PowerPC kernels.
Reviewed by: peter
This commit is contained in:
parent
acf6a4418d
commit
9abfa9d14b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71374
@ -100,6 +100,7 @@ char *machinename;
|
||||
#define MACHINE_PC98 2
|
||||
#define MACHINE_ALPHA 3
|
||||
#define MACHINE_IA64 4
|
||||
#define MACHINE_POWERPC 5
|
||||
|
||||
/*
|
||||
* For each machine, a set of CPU's may be specified as supported.
|
||||
|
@ -133,6 +133,9 @@ Config_spec:
|
||||
} else if (!strcmp($2, "ia64")) {
|
||||
machine = MACHINE_IA64;
|
||||
machinename = "ia64";
|
||||
} else if (!strcmp($2, "powerpc")) {
|
||||
machine = MACHINE_POWERPC;
|
||||
machinename = "powerpc";
|
||||
} else
|
||||
yyerror("Unknown machine type");
|
||||
} |
|
||||
|
@ -145,6 +145,7 @@ main(int argc, char **argv)
|
||||
case MACHINE_PC98:
|
||||
case MACHINE_ALPHA:
|
||||
case MACHINE_IA64:
|
||||
case MACHINE_POWERPC:
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -61,6 +61,7 @@ static struct users {
|
||||
{ 8, 2, 512 }, /* MACHINE_PC98 */
|
||||
{ 8, 2, 512 }, /* MACHINE_ALPHA */
|
||||
{ 8, 2, 512 }, /* MACHINE_IA64 */
|
||||
{ 8, 2, 512 }, /* MACHINE_POWERPC */
|
||||
};
|
||||
#define NUSERS (sizeof (users) / sizeof (users[0]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user