* Support the Sparc64.
* Do not default to any particular platform. Require that we explicitly support a particular platform.
This commit is contained in:
parent
cdd530ca19
commit
90b8f6bab5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92057
@ -89,14 +89,12 @@ static const char rcsid[] =
|
|||||||
#define BIG_NEWFS_FRAG 4096U
|
#define BIG_NEWFS_FRAG 4096U
|
||||||
#define BIG_NEWFS_CPG 64U
|
#define BIG_NEWFS_CPG 64U
|
||||||
|
|
||||||
#ifdef tahoe
|
#if defined(__i386__) || defined(__ia64__)
|
||||||
#define NUMBOOT 0
|
#define NUMBOOT 2
|
||||||
#else
|
#elif defined(__alpha__) || defined(__sparc64__)
|
||||||
#if defined(__alpha__) || defined(hp300) || defined(hp800)
|
|
||||||
#define NUMBOOT 1
|
#define NUMBOOT 1
|
||||||
#else
|
#else
|
||||||
#define NUMBOOT 2
|
#error I do not know about this architecture.
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void makelabel __P((char *, char *, struct disklabel *));
|
void makelabel __P((char *, char *, struct disklabel *));
|
||||||
@ -640,7 +638,7 @@ makebootarea(boot, dp, f)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Strange rules:
|
* Strange rules:
|
||||||
* 1. One-piece bootstrap (hp300/hp800)
|
* 1. One-piece bootstrap (alpha/sparc64)
|
||||||
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
|
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
|
||||||
* is remembered and written later following the bootarea.
|
* is remembered and written later following the bootarea.
|
||||||
* 2. Two-piece bootstraps (vax/i386?/mips?)
|
* 2. Two-piece bootstraps (vax/i386?/mips?)
|
||||||
|
@ -89,14 +89,12 @@ static const char rcsid[] =
|
|||||||
#define BIG_NEWFS_FRAG 4096U
|
#define BIG_NEWFS_FRAG 4096U
|
||||||
#define BIG_NEWFS_CPG 64U
|
#define BIG_NEWFS_CPG 64U
|
||||||
|
|
||||||
#ifdef tahoe
|
#if defined(__i386__) || defined(__ia64__)
|
||||||
#define NUMBOOT 0
|
#define NUMBOOT 2
|
||||||
#else
|
#elif defined(__alpha__) || defined(__sparc64__)
|
||||||
#if defined(__alpha__) || defined(hp300) || defined(hp800)
|
|
||||||
#define NUMBOOT 1
|
#define NUMBOOT 1
|
||||||
#else
|
#else
|
||||||
#define NUMBOOT 2
|
#error I do not know about this architecture.
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void makelabel __P((char *, char *, struct disklabel *));
|
void makelabel __P((char *, char *, struct disklabel *));
|
||||||
@ -640,7 +638,7 @@ makebootarea(boot, dp, f)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Strange rules:
|
* Strange rules:
|
||||||
* 1. One-piece bootstrap (hp300/hp800)
|
* 1. One-piece bootstrap (alpha/sparc64)
|
||||||
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
|
* up to d_bbsize bytes of ``xxboot'' go in bootarea, the rest
|
||||||
* is remembered and written later following the bootarea.
|
* is remembered and written later following the bootarea.
|
||||||
* 2. Two-piece bootstraps (vax/i386?/mips?)
|
* 2. Two-piece bootstraps (vax/i386?/mips?)
|
||||||
|
Loading…
Reference in New Issue
Block a user