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

5
Last change on this file since a5f84c6a was e53daed, checked in by Daniel Hellstrom <daniel@…>, on 04/09/15 at 14:09:42

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.