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

4.11
Last change on this file since a31845f7 was a31845f7, checked in by Daniel Hellstrom <daniel@…>, on Nov 28, 2011 at 9:11:10 AM

LIBPCI: added PCI layer to cpukit/libpci

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