Ignore:
Timestamp:
2013-12-28T17:30:44Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b735f3
Parents:
c1023bcb
Message:

code revision
coding style fixes
removal of debugging printouts and other temporary stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc32/include/libarch/ddi.h

    rc1023bcb r1df1905  
    11/*
    2  * Copyright (c) 2009 Jakub Jermar 
     2 * Copyright (c) 2009 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2828
    2929/** @file
    30  * @ingroup libsparc64
     30 * @ingroup libsparc32
    3131 */
    3232
    33 #ifndef LIBC_sparc64_DDI_H_
    34 #define LIBC_sparc64_DDI_H_
     33#ifndef LIBC_sparc32_DDI_H_
     34#define LIBC_sparc32_DDI_H_
    3535
    3636#include <sys/types.h>
     
    6565static inline uint8_t arch_pio_read_8(const ioport8_t *port)
    6666{
    67         uint8_t rv;
    68 
    69         rv = *port;
     67        uint8_t rv = *port;
    7068        memory_barrier();
    71 
     69       
    7270        return rv;
    7371}
     
    7573static inline uint16_t arch_pio_read_16(const ioport16_t *port)
    7674{
    77         uint16_t rv;
    78 
    79         rv = *port;
     75        uint16_t rv = *port;
    8076        memory_barrier();
    81 
     77       
    8278        return rv;
    8379}
     
    8581static inline uint32_t arch_pio_read_32(const ioport32_t *port)
    8682{
    87         uint32_t rv;
    88 
    89         rv = *port;
     83        uint32_t rv = *port;
    9084        memory_barrier();
    91 
     85       
    9286        return rv;
    9387}
Note: See TracChangeset for help on using the changeset viewer.