瀏覽代碼

* arm requires oldmmap call as well

florian 21 年之前
父節點
當前提交
33d9cedfd9
共有 1 個文件被更改,包括 9 次插入2 次删除
  1. 9 2
      rtl/linux/ossysc.inc

+ 9 - 2
rtl/linux/ossysc.inc

@@ -353,6 +353,10 @@ type
 {$define OLDMMAP}
 {$define OLDMMAP}
 {$endif cpum68k}
 {$endif cpum68k}
 
 
+{$ifdef cpuarm}
+{$define OLDMMAP}
+{$endif cpuarm}
+
 Function Fpmmap(adr:pointer;len:size_t;prot:cint;flags:cint;fd:cint;off:off_t):pointer;  [public, alias : 'FPC_SYSC_MMAP'];
 Function Fpmmap(adr:pointer;len:size_t;prot:cint;flags:cint;fd:cint;off:off_t):pointer;  [public, alias : 'FPC_SYSC_MMAP'];
 // OFF_T procedure, and returns a pointer, NOT cint.
 // OFF_T procedure, and returns a pointer, NOT cint.
 
 
@@ -467,7 +471,10 @@ end;
 
 
 {
 {
  $Log$
  $Log$
- Revision 1.12  2003-12-30 16:26:10  marco
+ Revision 1.13  2004-01-23 00:00:06  florian
+   * arm requires oldmmap call as well
+
+ Revision 1.12  2003/12/30 16:26:10  marco
   * some more fixes. Testing on idefix
   * some more fixes. Testing on idefix
 
 
  Revision 1.11  2003/12/30 15:43:20  marco
  Revision 1.11  2003/12/30 15:43:20  marco
@@ -509,4 +516,4 @@ end;
   * The syscall core of the new system unit.
   * The syscall core of the new system unit.
 
 
 
 
-}
+}