Changeset 9fa16b20 in mainline for arch/amd64/include


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.

Location:
arch/amd64/include
Files:
2 edited

Legend:

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

    r97a7eff r9fa16b20  
    6868
    6969#define TSS_BASIC_SIZE  104
     70#define TSS_IOMAP_SIZE  (16*1024+1)     /* 16K for bitmap + 1 terminating byte for convenience */
    7071
    7172#ifndef __ASM__
     
    145146        __u16 reserve4;
    146147        __u16 iomap_base;
    147         __u8 iomap[0x10000 + 1];        /* 64K + 1 terminating byte */
     148        __u8 iomap[TSS_IOMAP_SIZE];
    148149} __attribute__ ((packed));
    149150typedef struct tss tss_t;
  • arch/amd64/include/proc/task.h

    r97a7eff r9fa16b20  
    3232#include <typedefs.h>
    3333#include <arch/types.h>
     34#include <adt/bitmap.h>
    3435
    3536typedef struct {
    36         count_t iomap_size;
    37         __u8 *iomap;
     37        bitmap_t iomap;
    3838} task_arch_t;
    3939
Note: See TracChangeset for help on using the changeset viewer.