misc: Backport changes from trunk

This commit is contained in:
mintsuki 2022-08-27 05:48:17 +02:00
parent 470e6a6fce
commit 530517f254
4 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,11 @@
#include <fs/echfs.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <fs/echfs.h>
#include <lib/libc.h>
#include <lib/blib.h>
#include <lib/misc.h>
#include <lib/print.h>
#include <drivers/disk.h>
#include <stdbool.h>
#include <mm/pmm.h>
struct echfs_dir_entry {

View File

@ -5,7 +5,7 @@
#include <mm/pmm.h>
#include <lib/print.h>
#include <lib/libc.h>
#include <lib/blib.h>
#include <lib/misc.h>
// created using documentation from:
// https://dubeyko.com/development/FileSystems/NTFS/ntfsdoc.pdf

View File

@ -5,7 +5,7 @@
#include <protos/stivale.h>
#include <lib/libc.h>
#include <lib/elf.h>
#include <lib/blib.h>
#include <lib/misc.h>
#include <lib/acpi.h>
#include <lib/config.h>
#include <lib/time.h>

View File

@ -5,7 +5,7 @@
#include <protos/stivale.h>
#include <protos/stivale2.h>
#include <lib/elf.h>
#include <lib/blib.h>
#include <lib/misc.h>
#include <lib/acpi.h>
#include <lib/config.h>
#include <lib/time.h>
@ -65,10 +65,10 @@
r; \
})
#define append_tag(S, TAG) ({ \
#define append_tag(S, TAG) do { \
(TAG)->next = (S)->tags; \
(S)->tags = REPORTED_ADDR((uint64_t)(uintptr_t)TAG); \
})
} while (0)
#if defined (__i386__)
extern symbol stivale2_term_write_entry;