Displaying 2 results from an estimated 2 matches for "vsyscall_orig_end".
2007 Apr 18
2
[RFC, PATCH] Fixup COMPAT_VDSO to work with CONFIG_PARAVIRT
...D VDSO_HIGH_BASE;
+ }
+
+#if 0
+/* =
+ * To verify the binary image in memory is identical, linked in the VDSO p=
age
+ * from a COMPAT_VDSO compile without this patch; then diff the two. For a
+ * non-relocated fixmap, the VDSO image is identical.
+ */
+{
+ extern const char vsyscall_orig_start, vsyscall_orig_end;
+ int *l1 =3D (int *)page, *l2 =3D (int *)&vsyscall_orig_start;
+ int foo =3D vsyscall_orig_end - vsyscall_orig_start / 4;
+ for (i =3D 0; i < foo; i++) {
+ if (l1[i] !=3D l2[i]) {
+ printk("vsyscall - delta [%03x] orig %08x new %08x\n",
+ i, l2[i], l1[i]);
+ }
+ }
+}
+#end...
2007 Apr 18
2
[RFC, PATCH] Fixup COMPAT_VDSO to work with CONFIG_PARAVIRT
...D VDSO_HIGH_BASE;
+ }
+
+#if 0
+/* =
+ * To verify the binary image in memory is identical, linked in the VDSO p=
age
+ * from a COMPAT_VDSO compile without this patch; then diff the two. For a
+ * non-relocated fixmap, the VDSO image is identical.
+ */
+{
+ extern const char vsyscall_orig_start, vsyscall_orig_end;
+ int *l1 =3D (int *)page, *l2 =3D (int *)&vsyscall_orig_start;
+ int foo =3D vsyscall_orig_end - vsyscall_orig_start / 4;
+ for (i =3D 0; i < foo; i++) {
+ if (l1[i] !=3D l2[i]) {
+ printk("vsyscall - delta [%03x] orig %08x new %08x\n",
+ i, l2[i], l1[i]);
+ }
+ }
+}
+#end...