15 lines
246 B
C
15 lines
246 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _REG_H_
|
|
#define _REG_H_
|
|
|
|
#include <kernel/types.h>
|
|
|
|
void cr2_write(u64 cr2);
|
|
u64 cr2_read();
|
|
void cr3_write(u64 cr3);
|
|
u64 cr3_read();
|
|
void lidt();
|
|
void lgdt();
|
|
void ltr();
|
|
|
|
#endif /* _REG_H_ */
|