source: rtems/cpukit/libpci/pci_access_mem.c @ e53daed

4.11
Last change on this file since e53daed was e53daed, checked in by Daniel Hellstrom <daniel@…>, on Apr 9, 2015 at 2:09:42 PM

LIBPCI: updated license to rtems.org

  • Property mode set to 100644
File size: 449 bytes
Line 
1/*  PCI Access Library
2 *  Registers-over-Memory Space - Generic Big/Little endian PCI bus definitions
3 *
4 *  COPYRIGHT (c) 2010 Cobham Gaisler AB.
5 *
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *  http://www.rtems.org/license/LICENSE.
9 */
10
11#include <pci.h>
12
13uint8_t pci_mem_ld8(uint8_t *adr)
14{
15        return *adr;
16}
17
18void pci_mem_st8(uint8_t *adr, uint8_t data)
19{
20        *adr = data;
21}
Note: See TracBrowser for help on using the repository browser.