Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/alpha/include Sprinkle a little const around f...



details:   https://anonhg.NetBSD.org/src/rev/25869817df9e
branches:  nathanw_sa
changeset: 505469:25869817df9e
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Mon Dec 17 20:57:59 2001 +0000

description:
Sprinkle a little const around frametoreg() and regtoframe().

diffstat:

 sys/arch/alpha/include/alpha.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b87a2fe0b9d7 -r 25869817df9e sys/arch/alpha/include/alpha.h
--- a/sys/arch/alpha/include/alpha.h    Mon Dec 17 20:57:18 2001 +0000
+++ b/sys/arch/alpha/include/alpha.h    Mon Dec 17 20:57:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha.h,v 1.17.4.2 2001/08/30 23:43:43 nathanw Exp $ */
+/* $NetBSD: alpha.h,v 1.17.4.3 2001/12/17 20:57:59 nathanw Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -92,7 +92,7 @@
 void   do_sir(void);
 void   dumpconf(void);
 void   exception_return(void);                                 /* MAGIC */
-void   frametoreg(struct trapframe *, struct reg *);
+void   frametoreg(const struct trapframe *, struct reg *);
 long   fswintrberr(void);                                      /* MAGIC */
 void   init_bootstrap_console(void);
 void   init_prom_interface(struct rpb *);
@@ -103,7 +103,7 @@
 u_int64_t hwrpb_checksum(void);
 void   hwrpb_restart_setup(void);
 void   regdump(struct trapframe *);
-void   regtoframe(struct reg *, struct trapframe *);
+void   regtoframe(const struct reg *, struct trapframe *);
 void   savectx(struct pcb *);
 void    switch_exit(struct lwp *);                             /* MAGIC */
 void    switch_lwp_exit(struct lwp *);                         /* MAGIC */



Home | Main Index | Thread Index | Old Index