Spelling fix in the ldt bitfields.

This commit is contained in:
Francois Gouget 2008-04-14 01:03:24 +02:00 committed by Alexandre Julliard
parent 4ba16af16b
commit d8c41a25da
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ struct modify_ldt_s
unsigned int read_exec_only : 1;
unsigned int limit_in_pages : 1;
unsigned int seg_not_present : 1;
unsigned int useable : 1;
unsigned int usable : 1;
unsigned int garbage : 25;
};
@ -65,7 +65,7 @@ static inline void fill_modify_ldt_struct( struct modify_ldt_s *ptr, const LDT_E
ptr->read_exec_only = !(entry->HighWord.Bits.Type & 2);
ptr->limit_in_pages = entry->HighWord.Bits.Granularity;
ptr->seg_not_present = !entry->HighWord.Bits.Pres;
ptr->useable = entry->HighWord.Bits.Sys;
ptr->usable = entry->HighWord.Bits.Sys;
ptr->garbage = 0;
}

View File

@ -178,7 +178,7 @@ struct
unsigned int read_exec_only : 1;
unsigned int limit_in_pages : 1;
unsigned int seg_not_present : 1;
unsigned int useable : 1;
unsigned int usable : 1;
unsigned int garbage : 25;
} thread_ldt = { -1, (unsigned long)thread_data, 0xfffff, 1, 0, 0, 1, 0, 1, 0 };