Skip to content

Commit

Permalink
move some function declarations up; create a union
Browse files Browse the repository at this point in the history
  • Loading branch information
joe committed Dec 25, 2008
1 parent f68cde9 commit 7369b17
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 0.3/idt.h
Expand Up @@ -6,7 +6,15 @@
unsigned int* getbaseidt(void);
unsigned int* getbasegdt(void);
unsigned int getbaseldt(void);

unsigned int translate_logic_to_linear(unsigned int , unsigned int );
void visualise_idt(unsigned long *);
unsigned long modifie_idt(unsigned int ,unsigned int *);
unsigned long read_idt_entry(unsigned int *);

union descriptor {
struct gate_descriptor gd;
struct segment_descriptor sd;
};

struct segment_descriptor {
unsigned limit0:16;
Expand Down

0 comments on commit 7369b17

Please sign in to comment.