Re: [PATCH 12/21] i386 Deprecate descriptor asm

Vincent Hanquez
2005-11-10T16:14:49Z

On Mon, Nov 07, 2005 at 08:31:39PM -0800, Zachary Amsden wrote:
> +struct desc_internal_struct {
> + unsigned short limit0;
> + unsigned short base0;
> + unsigned char base1;
> + unsigned char type;
> + unsigned int limit1 : 4;
> + unsigned int flags : 4;
> + unsigned char base2;
> +} __attribute__((packed));

just a minor nit,

wouldn't that be better to use u8 and u16 types here ?

Cheers,
--
Vincent Hanquez