[haiku-commits] haiku: hrev44283 - in src/system/kernel/arch: ppc m68k arm

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 2 Jul 2012 21:45:46 +0200 (CEST)

hrev44283 adds 1 changeset to branch 'master'
old head: 8695be5049294c32c45ef69f8a500dd759f46079
new head: dc5a16bb70c95c64b1203682acf5a67e19b2b882

----------------------------------------------------------------------------

dc5a16b: Add TODO note with respect to needed asm implementations.

                                      [ Rene Gollent <anevilyak@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44283
Commit:      dc5a16bb70c95c64b1203682acf5a67e19b2b882
URL:         http://cgit.haiku-os.org/haiku/commit/?id=dc5a16b
Author:      Rene Gollent <anevilyak@xxxxxxxxx>
Date:        Mon Jul  2 19:42:38 2012 UTC

----------------------------------------------------------------------------

3 files changed, 7 insertions(+)
src/system/kernel/arch/arm/arch_cpu.cpp  |    2 ++
src/system/kernel/arch/m68k/arch_cpu.cpp |    2 ++
src/system/kernel/arch/ppc/arch_cpu.cpp  |    3 +++

----------------------------------------------------------------------------

diff --git a/src/system/kernel/arch/arm/arch_cpu.cpp 
b/src/system/kernel/arch/arm/arch_cpu.cpp
index e225f9c..65d4795 100644
--- a/src/system/kernel/arch/arm/arch_cpu.cpp
+++ b/src/system/kernel/arch/arm/arch_cpu.cpp
@@ -161,6 +161,8 @@ arch_cpu_user_TLB_invalidate(void)
 }
 
 
+// TODO: all functions that use fault handlers need to be implemented
+// in assembly due to problems passing in label addresses in gcc4.
 status_t
 arch_cpu_user_memcpy(void *to, const void *from, size_t size,
        addr_t *faultHandler)
diff --git a/src/system/kernel/arch/m68k/arch_cpu.cpp 
b/src/system/kernel/arch/m68k/arch_cpu.cpp
index 235c5aa..488e905 100644
--- a/src/system/kernel/arch/m68k/arch_cpu.cpp
+++ b/src/system/kernel/arch/m68k/arch_cpu.cpp
@@ -171,6 +171,8 @@ arch_cpu_user_TLB_invalidate(void)
 }
 
 
+// TODO: all functions that use fault handlers need to be implemented
+// in assembly due to problems passing in label addresses in gcc4.
 status_t
 arch_cpu_user_memcpy(void *to, const void *from, size_t size,
        addr_t *faultHandler)
diff --git a/src/system/kernel/arch/ppc/arch_cpu.cpp 
b/src/system/kernel/arch/ppc/arch_cpu.cpp
index 79c6296..80a76d4 100644
--- a/src/system/kernel/arch/ppc/arch_cpu.cpp
+++ b/src/system/kernel/arch/ppc/arch_cpu.cpp
@@ -172,6 +172,9 @@ arch_cpu_user_TLB_invalidate(void)
 }
 
 
+// TODO: all functions that use fault handlers need to be implemented
+// in assembly due to problems passing in label addresses in gcc4.
+
 status_t
 arch_cpu_user_memcpy(void *to, const void *from, size_t size,
        addr_t *faultHandler)


Other related posts:

  • » [haiku-commits] haiku: hrev44283 - in src/system/kernel/arch: ppc m68k arm - anevilyak