Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e833217b
authored
Sep 28, 2015
by
malcolm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fixed up GDT files
parent
9cca56a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/gdt.h
src/gdt.h
View file @
e833217b
...
@@ -18,12 +18,12 @@
...
@@ -18,12 +18,12 @@
#define GDT_GR_PG 0x80
#define GDT_GR_PG 0x80
typedef
struct
{
typedef
struct
{
uint16_t
lim
;
uint16_t
lim
;
uint16_t
low_base
;
uint16_t
low_base
;
uint8_t
mid_base
;
uint8_t
mid_base
;
uint8_t
flags
;
uint8_t
flags
;
uint8_t
gran
;
uint8_t
gran
;
uint8_t
high_base
;
uint8_t
high_base
;
}
gdt_desc
;
}
gdt_desc
;
extern
void
gdt_set_desc
(
uint32_t
i
,
uint64_t
base
,
uint64_t
limit
,
uint8_t
access
,
uint8_t
gran
);
extern
void
gdt_set_desc
(
uint32_t
i
,
uint64_t
base
,
uint64_t
limit
,
uint8_t
access
,
uint8_t
gran
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment