Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch s/LOAD_NOTE/LOAD_BACKWARDS/
details: https://anonhg.NetBSD.org/src/rev/1ce2713af427
branches: trunk
changeset: 757332:1ce2713af427
user: christos <christos%NetBSD.org@localhost>
date: Wed Aug 25 16:35:57 2010 +0000
description:
s/LOAD_NOTE/LOAD_BACKWARDS/
diffstat:
sys/arch/newsmips/stand/boot/boot.c | 5 ++---
sys/arch/x68k/stand/boot/boot.c | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 54a48d068e55 -r 1ce2713af427 sys/arch/newsmips/stand/boot/boot.c
--- a/sys/arch/newsmips/stand/boot/boot.c Wed Aug 25 16:35:02 2010 +0000
+++ b/sys/arch/newsmips/stand/boot/boot.c Wed Aug 25 16:35:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.17 2009/01/20 13:12:26 tsutsui Exp $ */
+/* $NetBSD: boot.c,v 1.18 2010/08/25 16:35:57 christos Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@@ -161,10 +161,9 @@
kernels[1] = NULL;
}
- /* disable LOAD_NOTE on floppy to avoid backward seek across volumes */
loadflag = LOAD_KERNEL;
if (devname[0] == 'f') /* XXX */
- loadflag &= ~LOAD_NOTE;
+ loadflag &= ~LOAD_BACKWARDS;
marks[MARK_START] = 0;
diff -r 54a48d068e55 -r 1ce2713af427 sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c Wed Aug 25 16:35:02 2010 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c Wed Aug 25 16:35:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.14 2009/01/31 14:22:21 tsutsui Exp $ */
+/* $NetBSD: boot.c,v 1.15 2010/08/25 16:37:02 christos Exp $ */
/*
* Copyright (c) 2001 Minoura Makoto
@@ -111,7 +111,7 @@
loadflag = LOAD_KERNEL;
if (file[0] == 'f')
- loadflag &= ~LOAD_NOTE;
+ loadflag &= ~LOAD_BACKWARDS;
marks[MARK_START] = 0x100000;
if ((fd = loadfile(file, marks, loadflag)) == -1) {
Home |
Main Index |
Thread Index |
Old Index