Changeset 9fa16b20 in mainline for arch/ia32/include/pm.h


Ignore:
Timestamp:
2006-04-17T15:45:38Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
73e9b49
Parents:
97a7eff
Message:

Fix amd64 and ia32 management of I/O bitmap in before_task_runs_arch()
by treating the iomap array as a bitmap. Make use of the bitmap type
and functions added in previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/pm.h

    r97a7eff r9fa16b20  
    5757
    5858#define TSS_BASIC_SIZE  104
     59#define TSS_IOMAP_SIZE  (16*1024+1)     /* 16K for bitmap + 1 terminating byte for convenience */
    5960
    6061#ifndef __ASM__
     
    132133        unsigned : 16;
    133134        __u16 iomap_base;
    134         __u8 iomap[0x10000+1];  /* 64K + 1 terminating byte */
     135        __u8 iomap[TSS_IOMAP_SIZE];
    135136} __attribute__ ((packed));
    136137typedef struct tss tss_t;
Note: See TracChangeset for help on using the changeset viewer.