Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/epoc32/stand/e32boot/ldd PR/50740: David Binderman:...



details:   https://anonhg.NetBSD.org/src/rev/fffc89b5f479
branches:  trunk
changeset: 343398:fffc89b5f479
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 01 17:44:19 2016 +0000

description:
PR/50740: David Binderman: Provide a copy constructor.

diffstat:

 sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp |  7 ++++++-
 sys/arch/epoc32/stand/e32boot/ldd/epoc32.h   |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 5452b8ebf9bc -r fffc89b5f479 sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp
--- a/sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp      Mon Feb 01 17:41:37 2016 +0000
+++ b/sys/arch/epoc32/stand/e32boot/ldd/epoc32.cpp      Mon Feb 01 17:44:19 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epoc32.cpp,v 1.1 2013/04/28 12:11:27 kiyohara Exp $    */
+/*     $NetBSD: epoc32.cpp,v 1.2 2016/02/01 17:44:19 christos Exp $    */
 /*
  * Copyright (c) 2013 KIYOHARA Takashi
  * All rights reserved.
@@ -57,6 +57,11 @@
        __asm("mcr      p15, 0, %0, c3, c0" : : "r"(domains));
 }
 
+EPOC32::EPOC32(const EPOC32& c)
+{
+       cpu = c.cpu;
+}
+
 EPOC32::EPOC32(void)
 {
        TUint procid;
diff -r 5452b8ebf9bc -r fffc89b5f479 sys/arch/epoc32/stand/e32boot/ldd/epoc32.h
--- a/sys/arch/epoc32/stand/e32boot/ldd/epoc32.h        Mon Feb 01 17:41:37 2016 +0000
+++ b/sys/arch/epoc32/stand/e32boot/ldd/epoc32.h        Mon Feb 01 17:44:19 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epoc32.h,v 1.1 2013/04/28 12:11:27 kiyohara Exp $      */
+/*     $NetBSD: epoc32.h,v 1.2 2016/02/01 17:44:19 christos Exp $      */
 /*
  * Copyright (c) 2013 KIYOHARA Takashi
  * All rights reserved.
@@ -30,6 +30,7 @@
 class EPOC32 {
 private:
        CPU *cpu;
+       EPOC32(const EPOC32 &);
 
 public:
        EPOC32(void);



Home | Main Index | Thread Index | Old Index