Changeset e32e092 in mainline for kernel/genarch/src/mm/as_pt.c


Ignore:
Timestamp:
2008-06-06T07:34:21Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb1c0a3
Parents:
40257f5
Message:

Declare arguments for memstr.h operations as pointers instead of uintptr_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/as_pt.c

    r40257f5 re32e092  
    104104
    105105        if (flags & FLAG_AS_KERNEL) {
    106                 memsetb((uintptr_t) dst_ptl0, table_size, 0);
     106                memsetb(dst_ptl0, table_size, 0);
    107107        } else {
    108108                uintptr_t src, dst;
     
    119119                dst = (uintptr_t) &dst_ptl0[PTL0_INDEX(KERNEL_ADDRESS_SPACE_START)];
    120120
    121                 memsetb((uintptr_t) dst_ptl0, table_size, 0);
     121                memsetb(dst_ptl0, table_size, 0);
    122122                memcpy((void *) dst, (void *) src, table_size - (src - (uintptr_t) src_ptl0));
    123123                mutex_unlock(&AS_KERNEL->lock);
Note: See TracChangeset for help on using the changeset viewer.