Changeset 434f700 in mainline for arch/ia32/src


Ignore:
Timestamp:
2005-04-26T16:17:41Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
babcb148
Parents:
dba84ff
Message:

Replace the deadlock-prone TLB shootdown algorithm with a deadlock-free implementation.
The implementation is a variant of the CMU TLB consistency algorithm.
Very inefficient implementation of a very inefficient (but correct) algorithm.

Location:
arch/ia32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/bios/bios.c

    rdba84ff r434f700  
    3434void bios_init(void)
    3535{
    36         /* Copy the EBDA out from BIOS Data Area */
     36        /* Copy the EBDA address out from BIOS Data Area */
    3737        ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10;
    3838}
  • arch/ia32/src/interrupt.c

    rdba84ff r434f700  
    9393{
    9494        printf("cpu%d: syscall\n", CPU->id);
    95         thread_usleep(1000000);
     95        thread_usleep(1000);
    9696}
    9797
  • arch/ia32/src/smp/apic.c

    rdba84ff r434f700  
    231231        l_apic[TPR] &= TPRClear;
    232232
    233 //      if (CPU->arch.family >= 6)
    234 //              enable_l_apic_in_msr();
     233        if (CPU->arch.family >= 6)
     234                enable_l_apic_in_msr();
    235235       
    236236        tmp = l_apic[ICRlo] & ICRloClear;
     
    257257       
    258258        l_apic[ICRT] = t1-t2;
     259       
    259260}
    260261
Note: See TracChangeset for help on using the changeset viewer.