Ignore:
Timestamp:
2017-11-01T20:33:08Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0cbfd3
Parents:
315130c
Message:

Add 64-bit PIO functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/amdm37x.c

    r315130c raa537a5a  
    4444#include <stdio.h>
    4545
    46 static void log(const volatile void *place, uint32_t val, volatile void* base, size_t size, void *data, bool write)
     46static void
     47log(const volatile void *place, uint64_t val, volatile void *base, size_t size,
     48    void *data, bool write)
    4749{
    48         printf("PIO %s: %p(%p) %#"PRIx32"\n", write ? "WRITE" : "READ",
     50        printf("PIO %s: %p(%p) %#"PRIx64"\n", write ? "WRITE" : "READ",
    4951            (place - base) + data, place, val);
    5052}
Note: See TracChangeset for help on using the changeset viewer.