limine-deploy: Remove leading underscore from limine.hdd variable name

This commit is contained in:
mintsuki 2022-04-15 16:13:08 +02:00
parent af330e1201
commit 98b54eaf25
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ LC_ALL=C
export LC_ALL
cat <<EOF
const uint8_t _binary_limine_hdd_bin_data[] = {
const uint8_t binary_limine_hdd_bin_data[] = {
EOF
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g'

View File

@ -319,8 +319,8 @@ static bool _device_write(const void *_buffer, uint64_t loc, size_t count) {
int main(int argc, char *argv[]) {
int ok = EXIT_FAILURE;
int force_mbr = 0;
const uint8_t *bootloader_img = _binary_limine_hdd_bin_data;
size_t bootloader_file_size = sizeof(_binary_limine_hdd_bin_data);
const uint8_t *bootloader_img = binary_limine_hdd_bin_data;
size_t bootloader_file_size = sizeof(binary_limine_hdd_bin_data);
uint8_t orig_mbr[70], timestamp[6];
uint32_t endcheck = 0x12345678;