Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Constify bus_space_reserve_subregion() impl...
details: https://anonhg.NetBSD.org/src/rev/077ce352a9f1
branches: trunk
changeset: 767644:077ce352a9f1
user: dyoung <dyoung%NetBSD.org@localhost>
date: Mon Jul 25 20:34:07 2011 +0000
description:
Constify bus_space_reserve_subregion() implementation.
diffstat:
sys/arch/x86/x86/bus_space.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 648c73464ceb -r 077ce352a9f1 sys/arch/x86/x86/bus_space.c
--- a/sys/arch/x86/x86/bus_space.c Mon Jul 25 20:33:20 2011 +0000
+++ b/sys/arch/x86/x86/bus_space.c Mon Jul 25 20:34:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.35 2011/07/08 03:23:14 dyoung Exp $ */
+/* $NetBSD: bus_space.c,v 1.36 2011/07/25 20:34:07 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.35 2011/07/08 03:23:14 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.36 2011/07/25 20:34:07 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -288,8 +288,9 @@
int
bus_space_reserve_subregion(bus_space_tag_t t,
bus_addr_t rstart, bus_addr_t rend,
- bus_size_t size, bus_size_t alignment, bus_size_t boundary,
- int flags, bus_space_reservation_t *bsrp)
+ const bus_size_t size, const bus_size_t alignment,
+ const bus_size_t boundary,
+ const int flags, bus_space_reservation_t *bsrp)
{
bus_space_reservation_t bsr;
struct extent *ex;
Home |
Main Index |
Thread Index |
Old Index