Loading...
--- xnu/xnu-344.49/osfmk/ppc/aligned_data.s
+++ xnu/xnu-201.5/osfmk/ppc/aligned_data.s
@@ -3,22 +3,19 @@
*
* @APPLE_LICENSE_HEADER_START@
*
- * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
+ * The contents of this file constitute Original Code as defined in and
+ * are subject to the Apple Public Source License Version 1.1 (the
+ * "License"). You may not use this file except in compliance with the
+ * License. Please obtain a copy of the License at
+ * http://www.apple.com/publicsource and read it before using this file.
*
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- *
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * This Original Code and all software distributed under the License are
+ * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
- * limitations under the License.
+ * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
+ * License for the specific language governing rights and limitations
+ * under the License.
*
* @APPLE_LICENSE_HEADER_END@
*/
@@ -104,33 +101,45 @@
#endif
-/* 128-byte aligned areas */
+/* 32-byte aligned areas */
.globl EXT(saveanchor)
- .align 7
+ .align 5
EXT(saveanchor):
.set .,.+SVsize
.globl EXT(mapCtl)
- .align 7
+ .align 5
EXT(mapCtl):
.set .,.+mapcsize
+ .globl EXT(dgWork)
+ .align 5
+EXT(dgWork):
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+
.globl EXT(trcWork)
- .align 7
+ .align 5
EXT(trcWork):
- .long EXT(traceTableBeg) ; The next trace entry to use
#if DEBUG
-/* .long 0x02000000 */ /* Only alignment exceptions enabled */
- .long 0xFFFFFFFF /* All enabled */
-/* .long 0xFBBFFFFF */ /* EXT and DEC disabled */
-/* .long 0xFFBFFFFF */ /* DEC disabled */
+/* .long 0x02000000 */ /* Only alignment exceptions enabled */
+ .long 0xFFFFFFFF /* All enabled */
+/* .long 0xFBBFFFFF */ /* EXT and DEC disabled */
+/* .long 0xFFBFFFFF */ /* DEC disabled */
#else
- .long 0x00000000 ; All disabled on non-debug systems
+ .long 0x00000000 ; All disabled on non-debug systems
#endif
- .long EXT(traceTableBeg) ; Start of the trace table
- .long EXT(traceTableEnd) ; End (wrap point) of the trace
- .long 0 ; Saved mask while in debugger
+ .long EXT(traceTableBeg) ; The next trace entry to use
+ .long EXT(traceTableBeg) ; Start of the trace table
+ .long EXT(traceTableEnd) ; End (wrap point) of the trace
+ .long 0 ; Saved mask while in debugger
.long 0
.long 0
@@ -138,104 +147,91 @@
.globl fwdisplock
- .align 7
+ .align 5
fwdisplock:
- .set .,.+128
-
- .globl EXT(free_mappings)
- .align 7
+ .set .,.+32
+
+ .globl hexfont
+ .align 5
+#include <ppc/hexfont.h>
+
+ .globl EXT(QNaNbarbarian)
+ .align 5
+
+EXT(QNaNbarbarian):
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+ .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
+
+ .globl EXT(free_mappings)
+ .align 5
EXT(free_mappings):
- .long 0
-
- .globl EXT(syncClkSpot)
- .align 7
+ .long 0
+
+ .globl EXT(syncClkSpot)
+ .align 5
EXT(syncClkSpot):
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
-
- .globl EXT(NMIss)
- .align 7
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+
+ .globl EXT(NMIss)
+ .align 5
EXT(NMIss):
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
-
-/* 32-byte aligned areas */
-
- .globl EXT(dbvecs)
- .align 5
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+
+ .globl EXT(dbvecs)
+ .align 5
EXT(dbvecs):
- .set .,.+(33*16)
-
- .globl hexfont
- .align 5
-#include <ppc/hexfont.h>
-
- .globl EXT(QNaNbarbarian)
- .align 5
-
-EXT(QNaNbarbarian):
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
-
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
- .long 0x7FFFDEAD /* This is a quiet not-a-number which is a "known" debug value */
-
- .globl EXT(dgWork)
- .align 5
-EXT(dgWork):
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
- .long 0
+ .set .,.+(33*16)
+
/* 8-byte aligned areas */
- .globl EXT(FloatInit)
- .align 3
+ .globl EXT(FloatInit)
+ .align 3
EXT(FloatInit):
- .long 0xC24BC195 /* Initial value */
- .long 0x87859393 /* of floating point registers */
- .long 0xE681A2C8 /* and others */
- .long 0x8599855A
-
- .globl EXT(DebugWork)
- .align 3
+ .long 0xC24BC195 /* Initial value */
+ .long 0x87859393 /* of floating point registers */
+ .long 0xE681A2C8 /* and others */
+ .long 0x8599855A
+
+ .globl EXT(DebugWork)
+ .align 3
EXT(DebugWork):
- .long 0
- .long 0
- .long 0
- .long 0
-
- .globl EXT(dbfloats)
- .align 3
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+
+ .globl EXT(dbfloats)
+ .align 3
EXT(dbfloats):
.set .,.+(33*8)
- .globl EXT(dbspecrs)
- .align 3
+ .globl EXT(dbspecrs)
+ .align 3
EXT(dbspecrs):
.set .,.+(80*4)