mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 18:28:30 +00:00
Run clang-format (#1197)
This commit is contained in:
parent
ea081b262c
commit
f032b5570b
183 changed files with 1074 additions and 983 deletions
|
@ -62,8 +62,8 @@ textstartup void _AcpiFadtInit(void) {
|
|||
_Static_assert(offsetof(AcpiTableFadt, Dsdt) == 40);
|
||||
_Static_assert(offsetof(AcpiTableFadt, BootFlags) == 109);
|
||||
_Static_assert(offsetof(AcpiTableFadt, XDsdt) == 140);
|
||||
if (length >= offsetof(AcpiTableFadt, BootFlags) + sizeof(fadt->BootFlags))
|
||||
{
|
||||
if (length >=
|
||||
offsetof(AcpiTableFadt, BootFlags) + sizeof(fadt->BootFlags)) {
|
||||
_AcpiBootFlags = flags = fadt->BootFlags;
|
||||
KINFOF("FADT: boot flags %#x", (unsigned)flags);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/atomic.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "libc/intrin/directmap.internal.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/irq/acpi.internal.h"
|
||||
|
@ -34,6 +33,7 @@
|
|||
#include "libc/macros.internal.h"
|
||||
#include "libc/nt/efi.h"
|
||||
#include "libc/runtime/pc.internal.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/map.h"
|
||||
#include "libc/sysv/consts/prot.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue