Skip to content

Commit 876c113

Browse files
committed
Introduced a version header when running the utility
1 parent a6de4c3 commit 876c113

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.efi
2+
*.code-workspace

disable-ram-area.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
EFI_STATUS
66
ParseCommandLine(CHAR16 *command_line, EFI_PHYSICAL_ADDRESS *Addr, EFI_PHYSICAL_ADDRESS *EndAddr, UINTN *Stalltime) {
7+
Print(L"\nmacOS-Disable-RAM-Areas\n");
8+
Print(L"https://github.com/0nelight/macOS-Disable-RAM-Areas/\n");
9+
Print(L"Version 0.2.3-beta\n\n");
10+
711
// Ensure command_line is not null
812
if (command_line == NULL) {
913
Print(L"No command line arguments provided.\n");
@@ -94,7 +98,7 @@ efi_main (EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {
9498
return Status;
9599
}
96100

97-
Print(L"Parsed values - Addr: 0x%lx, EndAddr: 0x%lx, Stalltime: %lu ms\n", Addr, EndAddr, Stalltime);
101+
Print(L"Parsed values - Addr: 0x%lx, EndAddr: 0x%lx, Stalltime: %lu ms\n\n", Addr, EndAddr, Stalltime);
98102

99103
Print(L"Disable RAM Area...!\n");
100104
// Convert the first address to the number of the page that it's in.

0 commit comments

Comments
 (0)