4.115
Last change
on this file since 71e8a5c was
71e8a5c,
checked in by Daniel Hellstrom <daniel@…>, on 02/27/15 at 15:45:59
|
LIBPCI: moved copyright into a single line
|
-
Property mode set to
100644
|
File size:
449 bytes
|
Rev | Line | |
---|
[a31845f7] | 1 | /* PCI Access Library |
---|
| 2 | * Registers-over-Memory Space - Generic Big/Little endian PCI bus definitions |
---|
| 3 | * |
---|
[71e8a5c] | 4 | * COPYRIGHT (c) 2010 Cobham Gaisler AB. |
---|
[a31845f7] | 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.com/license/LICENSE. |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include <pci.h> |
---|
| 12 | |
---|
| 13 | uint8_t pci_mem_ld8(uint8_t *adr) |
---|
| 14 | { |
---|
| 15 | return *adr; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | void pci_mem_st8(uint8_t *adr, uint8_t data) |
---|
| 19 | { |
---|
| 20 | *adr = data; |
---|
| 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.