4.115
Last change
on this file since a31845f7 was
a31845f7,
checked in by Daniel Hellstrom <daniel@…>, on 11/28/11 at 09:11:10
|
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 | |
---|
14 | uint8_t pci_mem_ld8(uint8_t *adr) |
---|
15 | { |
---|
16 | return *adr; |
---|
17 | } |
---|
18 | |
---|
19 | void pci_mem_st8(uint8_t *adr, uint8_t data) |
---|
20 | { |
---|
21 | *adr = data; |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.