Changeset 7f1c620 in mainline for arch/ia64/src/mm/vhpt.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/mm/vhpt.c

    r991779c5 r7f1c620  
    4141static vhpt_entry_t* vhpt_base;
    4242
    43 __address vhpt_set_up(void)
     43uintptr_t vhpt_set_up(void)
    4444{
    4545        vhpt_base = frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA | FRAME_ATOMIC);
     
    4747                panic("Kernel configured with VHPT but no memory for table.");
    4848        vhpt_invalidate_all();
    49         return (__address) vhpt_base;
     49        return (uintptr_t) vhpt_base;
    5050}
    5151
    5252
    53 void vhpt_mapping_insert(__address va, asid_t asid, tlb_entry_t entry)
     53void vhpt_mapping_insert(uintptr_t va, asid_t asid, tlb_entry_t entry)
    5454{
    5555        region_register rr_save, rr;
    5656        index_t vrn;
    5757        rid_t rid;
    58         __u64 tag;
     58        uint64_t tag;
    5959
    6060        vhpt_entry_t *ventry;
     
    8585void vhpt_invalidate_all()
    8686{
    87         memsetb((__address)vhpt_base,1<<VHPT_WIDTH,0);
     87        memsetb((uintptr_t)vhpt_base,1<<VHPT_WIDTH,0);
    8888}
    8989
Note: See TracChangeset for help on using the changeset viewer.