Skip to content

Commit

Permalink
Update ramdiskLoader.hexa
Browse files Browse the repository at this point in the history
  • Loading branch information
PeyTy committed Nov 29, 2024
1 parent 351d591 commit ac7ae2e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions boot/uefi/ramdiskLoader.hexa
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ fun loadRamDiskFromVolume(
sfile.ref,
name.utf16() as! ArrayPointer<UInt16>,
EFI_OpenMode.EFI_FILE_MODE_READ,
EFI_FileAttribute.EFI_FILE_READ_ONLY | // TODO and
EFI_FileAttribute.EFI_FILE_HIDDEN | // TODO and
EFI_FileAttribute.EFI_FILE_SYSTEM
(
EFI_FileAttribute.EFI_FILE_READ_ONLY as! UInt64 | // TODO and
EFI_FileAttribute.EFI_FILE_HIDDEN as! UInt64 | // TODO and
EFI_FileAttribute.EFI_FILE_SYSTEM as! UInt64
) as! EFI_FileAttribute
// TODO `and not` operator to disable flags
)

Expand Down

0 comments on commit ac7ae2e

Please sign in to comment.