libfs: update kernel library references
This commit is contained in:
@@ -27,7 +27,7 @@ bsp_add_library(
|
||||
NAME libfs
|
||||
LIB_DIR /usr/lib)
|
||||
|
||||
target_link_libraries(libfs libmango interface::fs libc libxpc)
|
||||
target_link_libraries(libfs-static libmango interface::fs libc-core libxpc-static)
|
||||
target_link_libraries(libfs libmagenta interface::fs libc libxpc)
|
||||
target_link_libraries(libfs-static libmagenta interface::fs libc-core libxpc-static)
|
||||
|
||||
set_target_properties(libfs-static PROPERTIES POSITION_INDEPENDENT_CODE FALSE)
|
||||
|
||||
+6
-6
@@ -9,12 +9,12 @@
|
||||
#include <fs/inode.h>
|
||||
#include <fs/status.h>
|
||||
#include <fs/superblock.h>
|
||||
#include <mango/handle.h>
|
||||
#include <mango/log.h>
|
||||
#include <mango/object.h>
|
||||
#include <mango/signal.h>
|
||||
#include <mango/task.h>
|
||||
#include <mango/vm.h>
|
||||
#include <magenta/handle.h>
|
||||
#include <magenta/log.h>
|
||||
#include <magenta/object.h>
|
||||
#include <magenta/signal.h>
|
||||
#include <magenta/task.h>
|
||||
#include <magenta/vm.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define TEMP_OBJECT_SIZE 0x10000
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef FS_FILE_H_
|
||||
#define FS_FILE_H_
|
||||
|
||||
#include <mango/types.h>
|
||||
#include <magenta/types.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct fs_file;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define FS_INODE_H_
|
||||
|
||||
#include <fs/status.h>
|
||||
#include <mango/types.h>
|
||||
#include <magenta/types.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct fs_inode;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _FS_INTERFACE_H_
|
||||
#define _FS_INTERFACE_H_
|
||||
|
||||
#include <mango/types.h>
|
||||
#include <magenta/types.h>
|
||||
#include <xpc/buffer.h>
|
||||
#include <xpc/context.h>
|
||||
#include <xpc/endpoint.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../interface.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <mango/status.h>
|
||||
#include <magenta/status.h>
|
||||
|
||||
extern kern_status_t fs_msg_close(
|
||||
xpc_context_t *ctx,
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <fs/context.h>
|
||||
#include <fs/file.h>
|
||||
#include <fs/status.h>
|
||||
#include <mango/handle.h>
|
||||
#include <mango/log.h>
|
||||
#include <mango/vm.h>
|
||||
#include <magenta/handle.h>
|
||||
#include <magenta/log.h>
|
||||
#include <magenta/vm.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
static int create_file_mapping(
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <fs/context.h>
|
||||
#include <fs/file.h>
|
||||
#include <fs/status.h>
|
||||
#include <mango/log.h>
|
||||
#include <magenta/log.h>
|
||||
#include <stdio.h>
|
||||
|
||||
extern kern_status_t fs_msg_open(
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "queue.h"
|
||||
|
||||
#include <mango/types.h>
|
||||
#include <magenta/types.h>
|
||||
|
||||
struct fs_file;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user