Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include/arm32 FPCONTEXTSIZE is dead.



details:   https://anonhg.NetBSD.org/src/rev/9639facf4c54
branches:  trunk
changeset: 783142:9639facf4c54
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Dec 07 18:46:50 2012 +0000

description:
FPCONTEXTSIZE is dead.

diffstat:

 sys/arch/arm/include/arm32/param.h |  13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diffs (40 lines):

diff -r 5c20a48035c3 -r 9639facf4c54 sys/arch/arm/include/arm32/param.h
--- a/sys/arch/arm/include/arm32/param.h        Fri Dec 07 18:36:24 2012 +0000
+++ b/sys/arch/arm/include/arm32/param.h        Fri Dec 07 18:46:50 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.17 2012/02/04 17:56:16 para Exp $  */
+/*     $NetBSD: param.h,v 1.18 2012/12/07 18:46:50 matt Exp $  */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -72,17 +72,13 @@
 /*
  * The USPACE area contains :
  * 1. the pcb structure for the process
- * 2. the fp context for FP emulation
- * 3. the kernel (svc) stack
+ * 2. the kernel (svc) stack
  *
  * The layout of the area looks like this
  *
- * | uarea | FP context | kernel stack |
+ * | uarea | kernel stack |
  *
  * The size of the uarea is known.
- * The size of the FP context is variable depending of the FP emulator
- * in use and whether there is hardware FP support. However we can put
- * an upper limit on it.
  * The kernel stack should be at least 4K is size.
  *
  * The stack top addresses are used to set the stack pointers. The stack bottom
@@ -90,9 +86,8 @@
  *
  */
 
-#define FPCONTEXTSIZE                  (0x100)
 #define USPACE_SVC_STACK_TOP           (USPACE)
-#define USPACE_SVC_STACK_BOTTOM                (sizeof(struct pcb) + FPCONTEXTSIZE + 10)
+#define USPACE_SVC_STACK_BOTTOM                (sizeof(struct pcb))
 
 #define arm_btop(x)                    ((x) >> PGSHIFT)
 #define arm_ptob(x)                    ((x) << PGSHIFT)



Home | Main Index | Thread Index | Old Index