1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
4 * This program and the accompanying materials
5 * are made available under the terms of the BSD License
6 * which accompanies this distribution, and is available at
7 * http://www.opensource.org/licenses/bsd-license.php
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
13 uint16_t bswap16_load(uint64_t addr) ;
14 uint32_t bswap32_load(uint64_t addr) ;
16 void bswap16_store(uint64_t addr, uint16_t val) ;
17 void bswap32_store(uint64_t addr, uint32_t val) ;
19 uint8_t load8_ci(uint64_t addr) ;
20 uint16_t load16_ci(uint64_t addr) ;
21 uint32_t load32_ci(uint64_t addr) ;
22 uint64_t load64_ci(uint64_t addr) ;
24 void store8_ci(uint64_t addr, uint8_t val) ;
25 void store16_ci(uint64_t addr, uint16_t val) ;
26 void store32_ci(uint64_t addr, uint32_t val) ;
27 void store64_ci(uint64_t addr, uint64_t val) ;