mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libj6] Move caps.h to cap_flags.h
This file is just the generated cap flag constants. Move it to not collide with more capability code to be added.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/// \file channel.h
|
||||
/// Definition of channel objects and related functions
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <util/bip_buffer.h>
|
||||
#include <util/counted.h>
|
||||
#include <util/spinlock.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/// Definition of event kobject types
|
||||
|
||||
#include <stdint.h>
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
|
||||
#include "objects/kobject.h"
|
||||
#include "wait_queue.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// \file mailbox.h
|
||||
/// Definition of mailbox kobject types
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <util/counted.h>
|
||||
#include <util/map.h>
|
||||
#include <util/spinlock.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// \file process.h
|
||||
/// Definition of process kobject types
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <util/map.h>
|
||||
#include <util/vector.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// \file system.h
|
||||
/// Definition of kobject type representing the system
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include "objects/kobject.h"
|
||||
|
||||
namespace obj {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// \file thread.h
|
||||
/// Definition of thread kobject types
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <util/enum_bitfields.h>
|
||||
#include <util/linked_list.h>
|
||||
#include <util/spinlock.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <util/vector.h>
|
||||
#include <util/enum_bitfields.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/memory.h>
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <j6/errors.h>
|
||||
#include <j6/types.h>
|
||||
#include <util/counted.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ j6 = module("j6",
|
||||
"sysconf.cpp.cog",
|
||||
],
|
||||
public_headers = [
|
||||
"j6/caps.h.cog",
|
||||
"j6/cap_flags.h.cog",
|
||||
"j6/errors.h",
|
||||
"j6/flags.h",
|
||||
"j6/init.h",
|
||||
@@ -33,7 +33,7 @@ sysconf = join(source_root, "definitions/sysconf.yaml")
|
||||
definitions = glob('definitions/**/*.def', recursive=True)
|
||||
|
||||
j6.add_depends([
|
||||
"j6/caps.h.cog",
|
||||
"j6/cap_flags.h.cog",
|
||||
"j6/syscalls.h.cog",
|
||||
"syscalls.s.cog",
|
||||
], definitions)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
// vim: ft=cpp
|
||||
|
||||
/// \file caps.h
|
||||
/// \file cap_flags.h
|
||||
/// Capability bitfield constants
|
||||
|
||||
#define j6_handle_caps(h) (((h)>>32) & 0xffffff)
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <j6/errors.h>
|
||||
#include <j6/flags.h>
|
||||
#include <j6/init.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <j6/errors.h>
|
||||
#include <j6/init.h>
|
||||
#include <j6/syscalls.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <j6/errors.h>
|
||||
#include <j6/flags.h>
|
||||
#include <j6/init.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <j6/caps.h>
|
||||
#include <j6/cap_flags.h>
|
||||
#include <j6/errors.h>
|
||||
#include <j6/syscalls.h>
|
||||
#include <j6/types.h>
|
||||
|
||||
Reference in New Issue
Block a user