浏览代码

Fixed constant definition

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7810 8c9fc860-2736-0410-a75d-ab315db34111
eth.negelef 7 年之前
父节点
当前提交
b61ff065d5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/EFIFileProtocol.Mod

+ 2 - 2
source/EFIFileProtocol.Mod

@@ -9,7 +9,7 @@ CONST
 	(* Open Modes. Allowed combinations are Read, Read/Write, Create/Read/Write *)
 	ModeRead* = 1H;
 	ModeWrite* = 2H;
-	ModeCreate* = LONG(8000000000000000H); (* TODO: This does probably not work! *)
+	ModeCreate* = MIN(HUGEINT);
 
 	(* File Attributes *)
 	ReadOnly* = 1H;
@@ -129,4 +129,4 @@ BEGIN
 	FileSystemVolumeInfoGUID.Data4[5] := 3FH;
 	FileSystemVolumeInfoGUID.Data4[6] := -3FH; (*0C1H*)
 	FileSystemVolumeInfoGUID.Data4[7] := 4DH;
-END EFIFileProtocol.
+END EFIFileProtocol.