misc: Backport changes from trunk
This commit is contained in:
parent
470e6a6fce
commit
530517f254
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user