Changeset 60875800 in mainline


Ignore:
Timestamp:
2005-07-21T13:58:27Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7a13b9
Parents:
1eb0dd13
Message:

Coding style fix

Files:
3 edited

Legend:

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

    r1eb0dd13 r60875800  
    129129
    130130
    131 // Clean IOPL(12,13) and NT(14) flags in EFLAGS register
     131/* Clean IOPL(12,13) and NT(14) flags in EFLAGS register */
    132132static void clean_IOPL_NT_flags(void)
    133133{
     
    145145}
    146146
    147 // Clean AM(18) flag in CR0 register
     147/* Clean AM(18) flag in CR0 register */
    148148static void clean_AM_flag(void)
    149149{
     
    201201        __asm__("ltr %0" : : "r" ((__u16) selector(TSS_DES)));
    202202       
    203         clean_IOPL_NT_flags();    //Disable I/O on nonprivileged levels
    204         clean_AM_flag();          //Disable alignment check
    205 }
     203        clean_IOPL_NT_flags();    /* Disable I/O on nonprivileged levels */
     204        clean_AM_flag();          /* Disable alignment check */
     205}
  • arch/ia32/src/userspace.c

    r1eb0dd13 r60875800  
    4747
    4848        __asm__ volatile (""
    49     // CLNT
     49    /* CLNT */
    5050                "pushfl;"
    5151                "pop %%eax;"
  • doc/TODO

    r1eb0dd13 r60875800  
    1717  + before IRET (from SYSCALL), zero NT in EFLAGS                         [DONE]
    1818+ [ia32] review the cache controling bits in CR0 register
    19 + [ia32] zero the alignment exception bit in EFLAGS
     19+ [ia32] zero the alignment exception bit in EFLAGS                       [DONE]
     20  - Task changed to clean AM in CR0 so the alignment check is disabled globaly
    2021+ make emulated architectures also work on real hardware
    2122+ bring in support for other architectures (e.g. PowerPC)
Note: See TracChangeset for help on using the changeset viewer.