mirror of https://github.com/tailix/libkernaux.git
Add header <kernaux/arch/x86-paging.h>
This commit is contained in:
parent
b7f8a70d46
commit
1de23653b0
|
@ -27,7 +27,7 @@ nobase_include_HEADERS += kernaux/arch/x86_64.h
|
|||
endif
|
||||
|
||||
if WITH_ARCH_X86
|
||||
nobase_include_HEADERS += kernaux/arch/x86.h
|
||||
nobase_include_HEADERS += kernaux/arch/x86.h kernaux/arch/x86-paging.h
|
||||
endif
|
||||
|
||||
#######
|
||||
|
|
|
@ -6,6 +6,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include <kernaux/arch/x86.h>
|
||||
#include <kernaux/arch/x86-paging.h>
|
||||
#include <kernaux/macro.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef KERNAUX_INCLUDED_ARCH_X86_PAGING
|
||||
#define KERNAUX_INCLUDED_ARCH_X86_PAGING
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -6,6 +6,10 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include <kernaux/arch/x86.h>
|
||||
#include <kernaux/arch/x86-paging.h>
|
||||
#include <kernaux/macro.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* @brief CR0 bits
|
||||
|
|
Loading…
Reference in New Issue