|
From: Dave A. <ai...@us...> - 2003-02-12 02:37:39
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax
In directory sc8-pr-cvs1:/tmp/cvs-serv5736/include/asm-vax
Modified Files:
byteorder.h mv.h posix_types.h stat.h unistd.h
Log Message:
DA: update for new toolchain build... add percentage signs to all assembly
routines
Index: byteorder.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/byteorder.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- byteorder.h 11 Mar 2001 23:49:00 -0000 1.6
+++ byteorder.h 12 Feb 2003 02:37:33 -0000 1.7
@@ -16,11 +16,11 @@
{
__u32 t1; /* assume input is aabbccdd in x*/
- __asm__ volatile ("rotl $8, %1, r1\n\t" /* r1 = bbccddaa */
- "bicl3 $0xff00ff00, r1, %0\n\t" /* %0 = 00cc00aa */
- "rotl $-8, %1, r1\n\t" /* r1 = ddaabbcc */
- "bicl2 $0xff00ff, r1\n\t" /* r1 = dd00bb00 */
- "bisl2 r1, %0\n\t" /* %0 = ddccbbaa */
+ __asm__ volatile ("rotl $8, %1, %%r1\n\t" /* r1 = bbccddaa */
+ "bicl3 $0xff00ff00, %%r1, %0\n\t" /* %0 = 00cc00aa */
+ "rotl $-8, %1, %%r1\n\t" /* r1 = ddaabbcc */
+ "bicl2 $0xff00ff, %%r1\n\t" /* r1 = dd00bb00 */
+ "bisl2 %%r1, %0\n\t" /* %0 = ddccbbaa */
: "=&g" (t1) : "r" (x) : "r1" );
return t1;
}
Index: mv.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mv.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mv.h 2 Dec 2002 02:55:09 -0000 1.4
+++ mv.h 12 Feb 2003 02:37:33 -0000 1.5
@@ -48,6 +48,7 @@
#define MV_CPU_GENERIC 0
#define MV_CPU_KA46 46
#define MV_CPU_KA55 55
+#define MV_CPU_KA650 650
#endif /* !__ASSEMBLY__ */
Index: posix_types.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/posix_types.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- posix_types.h 17 Jan 2001 16:18:52 -0000 1.1
+++ posix_types.h 12 Feb 2003 02:37:33 -0000 1.2
@@ -1,5 +1,5 @@
-#ifndef _VAX_POSIX_TYPES_H
-#define _VAX_POSIX_TYPES_H
+#ifndef __ARCH_VAX_POSIX_TYPES_H
+#define __ARCH_VAX_POSIX_TYPES_H
/* Source: ARM port */
/* #include <linux/config.h>*/
Index: stat.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/stat.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stat.h 18 Jan 2001 18:49:49 -0000 1.2
+++ stat.h 12 Feb 2003 02:37:33 -0000 1.3
@@ -45,9 +45,9 @@
*/
struct stat64 {
unsigned short st_dev;
- unsigned char __pad0[6];
-
- unsigned long long st_ino;
+ unsigned char __pad0[10];
+#define STAT64_HAS_BROKEN_ST_INO
+ unsigned long __st_ino;
unsigned int st_mode;
unsigned int st_nlink;
@@ -72,8 +72,7 @@
unsigned long st_ctime;
unsigned long __pad7; /* will be high 32 bits of ctime someday */
- unsigned long __unused1;
- unsigned long __unused2;
+ unsigned long long st_ino;
};
#endif /* _VAX_STAT_H */
Index: unistd.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/unistd.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- unistd.h 14 Sep 2001 11:41:27 -0000 1.12
+++ unistd.h 12 Feb 2003 02:37:33 -0000 1.13
@@ -280,8 +280,8 @@
register long _sc_0 __asm__("r0"); \
_sc_0 = __NR_##name; \
__asm__ __volatile__ ("pushl $0x0\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0) \
: _syscall_clobbers); \
@@ -299,8 +299,8 @@
_sc_0 = __NR_##name; \
__asm__ __volatile__ ("pushl %2\n\t" \
"pushl $0x1\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1) \
: _syscall_clobbers); \
@@ -319,8 +319,8 @@
__asm__ __volatile__ ("pushl %3\n\t" \
"pushl %2\n\t" \
"pushl $0x2\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2 %3\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2 %3\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1), "m"((long)arg2) \
: _syscall_clobbers); \
@@ -342,8 +342,8 @@
"pushl %3\n\t" \
"pushl %2\n\t" \
"pushl $0x3\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2 %3 %4\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2 %3 %4\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1), "m"((long)arg2), \
"m"((long)arg3) \
@@ -365,8 +365,8 @@
"pushl %3\n\t" \
"pushl %2\n\t" \
"pushl $0x4\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2 %3 %4 %5\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2 %3 %4 %5\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1), "m"((long)arg2), \
"m"((long) arg3), "m"((long) arg4) \
@@ -390,8 +390,8 @@
"pushl %3\n\t" \
"pushl %2\n\t" \
"pushl $0x5\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2 %3 %4 %5 %6\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2 %3 %4 %5 %6\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1), "m"((long)arg2), \
"m"((long)arg3), "m"((long)arg4), \
@@ -417,8 +417,8 @@
"pushl %3\n\t" \
"pushl %2\n\t" \
"pushl $0x6\n\t" \
- "movl sp, ap\n\t" \
- "chmk r0 # %0 %1 %2 %3 %4 %5 %6 %7\n\t" \
+ "movl %%sp, %%ap\n\t" \
+ "chmk %%r0 # %0 %1 %2 %3 %4 %5 %6 %7\n\t" \
: "=r"(_sc_0) \
: "0"(_sc_0), "m"((long)arg1), "m"((long)arg2), \
"m"((long)arg3), "m"((long)arg4), \
@@ -437,7 +437,7 @@
{
register int retval __asm__("r0");
__asm__("chmk %0"
- : /* implicit output in r0 */
+ : /* implicit output in %r0 */
: "g"(syscall)
: "r0", "r1");
return retval;
|