[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:
@@ -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)
|
||||
Reference in New Issue
Block a user