Changeset 11928d5 in mainline for arch/amd64/src/pm.c


Ignore:
Timestamp:
2006-04-28T14:32:44Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a98cdc7
Parents:
040e4e9
Message:

Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/pm.c

    r040e4e9 r11928d5  
    214214       
    215215        gdt_tss_setbase(&gdt_p[TSS_DES], (__address) tss_p);
    216         gdt_tss_setlimit(&gdt_p[TSS_DES], sizeof(tss_t) - 1);
     216        gdt_tss_setlimit(&gdt_p[TSS_DES], TSS_BASIC_SIZE - 1);
    217217
    218218        gdtr_load(&gdtr);
Note: See TracChangeset for help on using the changeset viewer.