diff options
author | msmith <msmith@FreeBSD.org> | 1998-10-09 07:09:22 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-10-09 07:09:22 +0000 |
commit | 67ce8300f65744de426ab590305821feb44e8246 (patch) | |
tree | 4e18de1176942ba2d8bb418f7290c8b3d6b18bf6 /sys/boot/common/bootstrap.h | |
parent | 894f23a4329691c5487c730166b883e4126a6839 (diff) | |
download | FreeBSD-src-67ce8300f65744de426ab590305821feb44e8246.zip FreeBSD-src-67ce8300f65744de426ab590305821feb44e8246.tar.gz |
Sync the MODINFO constants with <sys/linker.h>
Remove debugging in command_read().
Correctly strip leading controls on script commands.
Make 'ls' more DWIM in regard to pathnames. We can still do better.
Diffstat (limited to 'sys/boot/common/bootstrap.h')
-rw-r--r-- | sys/boot/common/bootstrap.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h index bf3874b..3a75258 100644 --- a/sys/boot/common/bootstrap.h +++ b/sys/boot/common/bootstrap.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bootstrap.h,v 1.10 1998/10/02 08:04:56 peter Exp $ + * $Id: bootstrap.h,v 1.11 1998/10/07 02:38:26 msmith Exp $ */ #include <sys/types.h> @@ -186,10 +186,11 @@ extern int elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module * XXX these are copies of the defines in <sys/linker.h>, and should be nuked * XXX before being committed. */ -#define MODINFO_NAME 0x0000 -#define MODINFO_TYPE 0x0001 -#define MODINFO_ADDR 0x0002 -#define MODINFO_SIZE 0x0003 +#define MODINFO_END 0x0000 +#define MODINFO_NAME 0x0001 +#define MODINFO_TYPE 0x0002 +#define MODINFO_ADDR 0x0003 +#define MODINFO_SIZE 0x0004 #define MODINFO_METADATA 0x8000 #define MODINFOMD_AOUTEXEC 0x0001 /* a.out exec header */ |