Compare commits

...

10 Commits

Author SHA1 Message Date
mintsuki
23508f2f54 Binary release v2.74.2 2022-01-06 10:35:14 +00:00
mintsuki
8b602028b7 Binary release v2.74.1 2022-01-03 22:20:19 +00:00
mintsuki
1ab351f25d Binary release v2.74 2022-01-02 12:21:04 +00:00
mintsuki
431e506371 Binary release v2.73.5 2021-12-29 00:41:05 +00:00
mintsuki
63ab02ac8e Binary release v2.73.4 2021-12-23 23:46:56 +00:00
mintsuki
99331a5e6b Binary release v2.73.3 2021-12-22 01:08:34 +00:00
mintsuki
976efdbf15 Binary release v2.73.2 2021-12-20 07:14:31 +00:00
mintsuki
3d64710f20 Binary release v2.73.1 2021-12-19 01:47:47 +00:00
mintsuki
b915f182ec Binary release v2.73 2021-12-15 19:08:57 +00:00
mintsuki
d8d80eddce Binary release v2.72 2021-12-12 19:15:43 +00:00
13 changed files with 14 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
Copyright 2019, 2020, 2021 mintsuki and contributors.
Copyright 2019, 2020, 2021, 2022 mintsuki and contributors.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@@ -1,14 +1,14 @@
CC = cc
CC ?= cc
PREFIX = /usr/local
DESTDIR =
PREFIX ?= /usr/local
DESTDIR ?=
CFLAGS = -O2 -pipe -Wall -Wextra
.PHONY: all install clean
CFLAGS ?= -O2 -pipe -Wall -Wextra
.PHONY: all
all: limine-install
.PHONY: install
install: all
install -d '$(DESTDIR)$(PREFIX)/bin'
install -s limine-install '$(DESTDIR)$(PREFIX)/bin/'
@@ -21,6 +21,7 @@ install: all
install -m 644 BOOTX64.EFI '$(DESTDIR)$(PREFIX)/share/limine/'
install -m 644 BOOTIA32.EFI '$(DESTDIR)$(PREFIX)/share/limine/'
.PHONY: clean
clean:
rm -f limine-install limine-install.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -10,6 +10,10 @@
#include <fcntl.h>
#include <unistd.h>
#ifndef O_BINARY
#define O_BINARY 0
#endif
#define DIV_ROUNDUP(a, b) (((a) + ((b) - 1)) / (b))
struct gpt_table_header {
@@ -287,7 +291,7 @@ int main(int argc, char *argv[]) {
}
}
device = open(argv[1], O_RDWR);
device = open(argv[1], O_RDWR | O_BINARY);
if (device == -1) {
perror("ERROR");
goto cleanup;
@@ -455,7 +459,7 @@ int main(int argc, char *argv[]) {
uint64_t stage2_loc_b = stage2_loc_a + stage2_size_a;
if (gpt) {
if (argc > 3) {
if (argc >= 3) {
uint32_t partition_num;
sscanf(argv[2], "%" SCNu32, &partition_num);
partition_num--;

Binary file not shown.

Binary file not shown.