mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[util] Move enum_bitfields into util
Continuing on the cleaning up of the src/include 'junk drawer', the enum_bitfields.h and its dependency basic_types.h are now in util.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <util/enum_bitfields.h>
|
||||
#include <util/misc.h> // for byteswap32
|
||||
#include <enum_bitfields.h>
|
||||
|
||||
struct acpi_table_header
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/// Classes to control both local and I/O APICs.
|
||||
|
||||
#include <stdint.h>
|
||||
#include "enum_bitfields.h"
|
||||
#include <util/enum_bitfields.h>
|
||||
|
||||
enum class isr : uint8_t;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
/// \file gdt.h
|
||||
/// Definitions relating to a CPU's GDT table
|
||||
#include <stdint.h>
|
||||
|
||||
#include "enum_bitfields.h"
|
||||
#include <stdint.h>
|
||||
#include <util/enum_bitfields.h>
|
||||
|
||||
class TSS;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <bootproto/kernel.h>
|
||||
#include <j6/init.h>
|
||||
#include <util/no_construct.h>
|
||||
#include <enum_bitfields.h>
|
||||
|
||||
#include "assert.h"
|
||||
#include "device_manager.h"
|
||||
@@ -21,10 +20,6 @@
|
||||
#include "objects/vm_area.h"
|
||||
#include "vm_space.h"
|
||||
|
||||
namespace bootproto {
|
||||
is_bitfield(section_flags);
|
||||
}
|
||||
|
||||
using bootproto::allocation_register;
|
||||
using bootproto::section_flags;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <j6/signals.h>
|
||||
#include <util/vector.h>
|
||||
#include <enum_bitfields.h>
|
||||
#include <util/enum_bitfields.h>
|
||||
|
||||
#include "objects/kobject.h"
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/memory.h>
|
||||
#include <util/enum_bitfields.h>
|
||||
#include <util/spinlock.h>
|
||||
#include <enum_bitfields.h>
|
||||
|
||||
struct free_page_header;
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <util/enum_bitfields.h>
|
||||
#include <util/spinlock.h>
|
||||
#include <util/vector.h>
|
||||
#include <enum_bitfields.h>
|
||||
|
||||
#include "page_table.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user