diff --git a/OVMF/OVMF_VARS_4M.fd b/OVMF/OVMF_VARS_4M.fd index a0a247b..3d0e153 100644 Binary files a/OVMF/OVMF_VARS_4M.fd and b/OVMF/OVMF_VARS_4M.fd differ diff --git a/fatroot/EFI/Boot/BootX64.efi b/fatroot/EFI/Boot/BootX64.efi index b1ab22e..4439f9c 100644 Binary files a/fatroot/EFI/Boot/BootX64.efi and b/fatroot/EFI/Boot/BootX64.efi differ diff --git a/main.cpp b/main.cpp index d15b5c4..974a668 100644 --- a/main.cpp +++ b/main.cpp @@ -324,7 +324,7 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable) { VOID* HeapMemory = NULL; UINTN AllocationSize = 512 * 1024 * 1024; // 512 MB - UINTN Pages = AllocationSize / 4096; // UEFI page size is 4KB + UINTN Pages = AllocationSize / EFI_PAGE_SIZE; EFI_STATUS Status = gBS->AllocatePages( AllocateAnyPages, diff --git a/readme.md b/readme.md index 9720d0a..7c8dacc 100644 --- a/readme.md +++ b/readme.md @@ -47,8 +47,11 @@ A: Science isn't about 'why', it's about 'why not'. Q: Why not raw frames? A: Too simple. +Q: How did you implement file I/O? +A: I didn't. I just preload the entire video into memory. + Q: Is this finished? -A: Some parts yes. +A: Mostly yes. Q: Can I use this in production? A: Define production.