Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 I am not quite sure that __data_start (se...
details: https://anonhg.NetBSD.org/src/rev/a591bf10613d
branches: trunk
changeset: 779157:a591bf10613d
user: jym <jym%NetBSD.org@localhost>
date: Mon May 07 02:12:35 2012 +0000
description:
I am not quite sure that __data_start (set through location counter) is
a char... declare it as int, like amd64.
diffstat:
sys/arch/i386/i386/db_memrw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c23b58a84223 -r a591bf10613d sys/arch/i386/i386/db_memrw.c
--- a/sys/arch/i386/i386/db_memrw.c Mon May 07 00:45:47 2012 +0000
+++ b/sys/arch/i386/i386/db_memrw.c Mon May 07 02:12:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_memrw.c,v 1.25 2009/03/10 20:05:30 bouyer Exp $ */
+/* $NetBSD: db_memrw.c,v 1.26 2012/05/07 02:12:35 jym Exp $ */
/*-
* Copyright (c) 1996, 2000 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_memrw.c,v 1.25 2009/03/10 20:05:30 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_memrw.c,v 1.26 2012/05/07 02:12:35 jym Exp $");
#include "opt_xen.h"
@@ -186,7 +186,7 @@
void
db_write_bytes(vaddr_t addr, size_t size, const char *data)
{
- extern char __data_start;
+ extern int __data_start;
char *dst;
dst = (char *)addr;
Home |
Main Index |
Thread Index |
Old Index