Mon Nov 30 21:37:16 2009 UTC ()
Update 'oemname' to NetBSD60.


(dsl)
diff -r1.16 -r1.17 src/sys/arch/i386/stand/bootxx/pbr.S

cvs diff -r1.16 -r1.17 src/sys/arch/i386/stand/bootxx/pbr.S (expand / switch to unified diff)

--- src/sys/arch/i386/stand/bootxx/pbr.S 2008/04/28 20:23:25 1.16
+++ src/sys/arch/i386/stand/bootxx/pbr.S 2009/11/30 21:37:16 1.17
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: pbr.S,v 1.16 2008/04/28 20:23:25 martin Exp $ */ 1/* $NetBSD: pbr.S,v 1.17 2009/11/30 21:37:16 dsl Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2003,2004 The NetBSD Foundation, Inc. 4 * Copyright (c) 2003,2004 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by David Laight. 8 * by David Laight.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -102,27 +102,27 @@ @@ -102,27 +102,27 @@
102 .text 102 .text
103 .code16 103 .code16
104ENTRY(start) 104ENTRY(start)
105 /* 105 /*
106 * The PC BIOS architecture defines a Boot Parameter Block (BPB) here. 106 * The PC BIOS architecture defines a Boot Parameter Block (BPB) here.
107 * The actual format varies between different MS-DOS versions, but 107 * The actual format varies between different MS-DOS versions, but
108 * apparently some system BIOS insist on patching this area 108 * apparently some system BIOS insist on patching this area
109 * (especially on LS120 drives - which I thought had an MBR...). 109 * (especially on LS120 drives - which I thought had an MBR...).
110 * The initial jmp and nop are part of the standard and may be 110 * The initial jmp and nop are part of the standard and may be
111 * tested for by the system BIOS. 111 * tested for by the system BIOS.
112 */ 112 */
113 jmp start0 113 jmp start0
114 nop 114 nop
115 .ascii "NetBSD40" /* oemname (8 bytes) */ 115 .ascii "NetBSD60" /* oemname (8 bytes) */
116 116
117 . = start + MBR_BPB_OFFSET /* move to start of BPB */ 117 . = start + MBR_BPB_OFFSET /* move to start of BPB */
118 /* (ensures oemname doesn't overflow) */ 118 /* (ensures oemname doesn't overflow) */
119 119
120 . = start + MBR_AFTERBPB /* skip BPB */ 120 . = start + MBR_AFTERBPB /* skip BPB */
121start0: 121start0:
122 xor %ax, %ax /* don't trust values of ds, es or ss */ 122 xor %ax, %ax /* don't trust values of ds, es or ss */
123 mov %ax, %ds 123 mov %ax, %ds
124 mov %ax, %es 124 mov %ax, %es
125 mov %ax, %ss 125 mov %ax, %ss
126 mov $0xfffc, %sp 126 mov $0xfffc, %sp
127 127
128 /* A 'reset disk system' request is traditional here... */ 128 /* A 'reset disk system' request is traditional here... */