misc: Consistently call x86-64 such, instead of x86_64
This commit is contained in:
parent
829712b446
commit
068b06e7ac
|
@ -22,7 +22,7 @@ jobs:
|
|||
run: ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=llvm --enable-werror --enable-all && make all && make maintainer-clean
|
||||
|
||||
- name: Build the bootloader (GNU, x86)
|
||||
run: ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=gnu --enable-werror --enable-bios --enable-uefi-ia32 --enable-uefi-x86_64 && make all && make maintainer-clean
|
||||
run: ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=gnu --enable-werror --enable-bios --enable-uefi-ia32 --enable-uefi-x86-64 && make all && make maintainer-clean
|
||||
|
||||
- name: Build the bootloader (GNU, aarch64)
|
||||
run: ./bootstrap && ./configure TOOLCHAIN_FOR_TARGET=aarch64-linux-gnu --enable-werror --enable-uefi-aarch64 && make all && make maintainer-clean
|
||||
|
|
12
PROTOCOL.md
12
PROTOCOL.md
|
@ -114,7 +114,7 @@ config).
|
|||
|
||||
## Machine state at entry
|
||||
|
||||
### x86_64
|
||||
### x86-64
|
||||
|
||||
`rip` will be the entry point as defined as part of the executable file format,
|
||||
unless the an Entry Point feature is requested (see below), in which case,
|
||||
|
@ -490,7 +490,7 @@ The possible settings are as follows:
|
|||
The effect of each of these options matches the effect of the `stty(1)`
|
||||
options by the same name.
|
||||
|
||||
#### x86_64
|
||||
#### x86-64
|
||||
|
||||
Additionally, the kernel must ensure, when calling `write()`, that:
|
||||
|
||||
|
@ -671,7 +671,7 @@ The response indicates which paging mode was actually enabled by the bootloader.
|
|||
Kernels must be prepared to handle the case where the requested paging mode is
|
||||
not supported by the hardware.
|
||||
|
||||
#### x86_64
|
||||
#### x86-64
|
||||
|
||||
Values for `mode`:
|
||||
```c
|
||||
|
@ -726,7 +726,7 @@ struct limine_5_level_paging_response {
|
|||
```
|
||||
|
||||
Notes: The presence of this request will prompt the bootloader to turn on
|
||||
x86_64 5-level paging. It will not be turned on if this request is not present.
|
||||
x86-64 5-level paging. It will not be turned on if this request is not present.
|
||||
If the response pointer is changed to a valid pointer, 5-level paging is engaged.
|
||||
|
||||
### SMP (multiprocessor) Feature
|
||||
|
@ -746,9 +746,9 @@ struct limine_smp_request {
|
|||
};
|
||||
```
|
||||
|
||||
* `flags` - Bit 0: Enable X2APIC, if possible. (x86_64-only)
|
||||
* `flags` - Bit 0: Enable X2APIC, if possible. (x86-64 only)
|
||||
|
||||
#### x86_64:
|
||||
#### x86-64:
|
||||
|
||||
Response:
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ Donations welcome, but absolutely not mandatory!
|
|||
|
||||
### Supported architectures
|
||||
* IA-32 (32-bit x86)
|
||||
* x86_64
|
||||
* x86-64
|
||||
* aarch64 (arm64)
|
||||
|
||||
### Supported boot protocols
|
||||
|
@ -48,7 +48,7 @@ opening issues or pull requests related to this.
|
|||
For 32-bit x86 systems, support is only ensured starting with those with
|
||||
Pentium Pro (i686) class CPUs.
|
||||
|
||||
All x86_64 and aarch64 (UEFI) systems are supported.
|
||||
All x86-64 and aarch64 (UEFI) systems are supported.
|
||||
|
||||
## Packaging status
|
||||
|
||||
|
|
|
@ -273,7 +273,7 @@ bool elf64_load_section(uint8_t *elf, void *buffer, const char *name, size_t lim
|
|||
|
||||
#if defined (__x86_64__) || defined (__i386__)
|
||||
if (hdr->machine != ARCH_X86_64) {
|
||||
printv("elf: Not an x86_64 ELF file.\n");
|
||||
printv("elf: Not an x86-64 ELF file.\n");
|
||||
return false;
|
||||
}
|
||||
#elif defined (__aarch64__)
|
||||
|
@ -414,7 +414,7 @@ bool elf64_load(uint8_t *elf, uint64_t *entry_point, uint64_t *_slide, uint32_t
|
|||
|
||||
#if defined (__x86_64__) || defined (__i386__)
|
||||
if (hdr->machine != ARCH_X86_64) {
|
||||
panic(true, "elf: Not an x86_64 ELF file.\n");
|
||||
panic(true, "elf: Not an x86-64 ELF file.\n");
|
||||
}
|
||||
#elif defined (__aarch64__)
|
||||
if (hdr->machine != ARCH_AARCH64) {
|
||||
|
@ -673,7 +673,7 @@ bool elf64_load_elsewhere(uint8_t *elf, uint64_t *entry_point,
|
|||
}
|
||||
|
||||
if (hdr->machine != ARCH_X86_64) {
|
||||
printv("elf: Not an x86_64 ELF file.\n");
|
||||
printv("elf: Not an x86-64 ELF file.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue