Changeset 25b9e2c in mainline for kernel/arch/ia32/src/ddi/ddi.c


Ignore:
Timestamp:
2007-11-26T22:24:55Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4e38c7
Parents:
263e1ec
Message:

Formatting fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/ddi/ddi.c

    r263e1ec r25b9e2c  
    7676                        return ENOMEM;
    7777               
    78                 bitmap_initialize(&oldiomap, task->arch.iomap.map, task->arch.iomap.bits);
     78                bitmap_initialize(&oldiomap, task->arch.iomap.map,
     79                    task->arch.iomap.bits);
    7980                bitmap_initialize(&task->arch.iomap, newmap, bits);
    8081
     
    8283                 * Mark the new range inaccessible.
    8384                 */
    84                 bitmap_set_range(&task->arch.iomap, oldiomap.bits, bits - oldiomap.bits);
     85                bitmap_set_range(&task->arch.iomap, oldiomap.bits,
     86                    bits - oldiomap.bits);
    8587
    8688                /*
     
    8991                 */             
    9092                if (oldiomap.bits) {
    91                         bitmap_copy(&task->arch.iomap, &oldiomap, oldiomap.bits);
     93                        bitmap_copy(&task->arch.iomap, &oldiomap,
     94                            oldiomap.bits);
    9295                        free(oldiomap.map);
    9396                }
     
    129132       
    130133                ASSERT(TASK->arch.iomap.map);
    131                 bitmap_initialize(&iomap, CPU->arch.tss->iomap, TSS_IOMAP_SIZE * 8);
     134                bitmap_initialize(&iomap, CPU->arch.tss->iomap,
     135                    TSS_IOMAP_SIZE * 8);
    132136                bitmap_copy(&iomap, &task->arch.iomap, task->arch.iomap.bits);
    133137                /*
    134                  * It is safe to set the trailing eight bits because of the extra
    135                  * convenience byte in TSS_IOMAP_SIZE.
     138                 * It is safe to set the trailing eight bits because of the
     139                 * extra convenience byte in TSS_IOMAP_SIZE.
    136140                 */
    137141                bitmap_set_range(&iomap, ALIGN_UP(TASK->arch.iomap.bits, 8), 8);
Note: See TracChangeset for help on using the changeset viewer.