SOURCES: lrmi-update-v86d.patch - updated from v86d-0.1.9 (without static r...

qboosh qboosh at pld-linux.org
Sat Nov 1 11:09:34 CET 2008


Author: qboosh                       Date: Sat Nov  1 10:09:34 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated from v86d-0.1.9 (without static return address hack, may conflict with other uses)

---- Files affected:
SOURCES:
   lrmi-update-v86d.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/lrmi-update-v86d.patch
diff -u SOURCES/lrmi-update-v86d.patch:1.2 SOURCES/lrmi-update-v86d.patch:1.3
--- SOURCES/lrmi-update-v86d.patch:1.2	Thu Sep 18 19:46:26 2008
+++ SOURCES/lrmi-update-v86d.patch	Sat Nov  1 11:09:28 2008
@@ -1,5 +1,5 @@
 --- lrmi-0.10/lrmi.c.orig	2005-12-05 00:44:44.000000000 +0100
-+++ lrmi-0.10/lrmi.c	2008-09-18 19:31:56.027620364 +0200
++++ lrmi-0.10/lrmi.c	2008-11-01 10:55:41.460727425 +0100
 @@ -61,6 +61,14 @@
  
  #include "lrmi.h"
@@ -15,6 +15,15 @@
  #define REAL_MEM_BASE 	((void *)0x10000)
  #define REAL_MEM_SIZE 	0x40000
  #define REAL_MEM_BLOCKS 	0x100
+@@ -328,7 +336,7 @@
+ 	 and the ROM (0xa0000 - 0x100000)
+ 	*/
+ 	if (!map_file((void *)0, 0x502,
+-	 PROT_READ | PROT_WRITE | PROT_EXEC,
++	 PROT_READ | PROT_WRITE,
+ 	 MAP_FIXED | MAP_PRIVATE, "/dev/zero", 0)) {
+ 		real_mem_deinit();
+ 		return 0;
 @@ -340,7 +348,7 @@
  		return 0;
  	}
@@ -29,8 +38,8 @@
  	}
  
 +	if (!map_file((void *)0xc0000, 0x40000,
-+	 PROT_READ | PROT_WRITE | PROT_EXEC,
-+	 MAP_FIXED | MAP_SHARED, "/dev/mem", 0xc0000)) {
++		PROT_READ | PROT_EXEC,
++		MAP_FIXED | MAP_SHARED, "/dev/mem", 0xc0000)) {
 +		munmap((void *)0, 0x502);
 +		munmap((void *)0xa0000, 0x20000);
 +		real_mem_deinit();
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/lrmi-update-v86d.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list