URL
https://opencores.org/ocsvn/s6soc/s6soc/trunk
[/] [s6soc/] [trunk/] [sw/] [host/] [deppi.cpp] - Diff between revs 45 and 52
Show entire file |
Details |
Blame |
View Log
Rev 45 |
Rev 52 |
Line 122... |
Line 122... |
flush_read();
|
flush_read();
|
// fprintf(stdout, "Flushed! **************\n");
|
// fprintf(stdout, "Flushed! **************\n");
|
}
|
}
|
|
|
DEPPI::~DEPPI(void) {
|
DEPPI::~DEPPI(void) {
|
close();
|
DEPPI::close();
|
}
|
}
|
|
|
void DEPPI::close(void) {
|
void DEPPI::close(void) {
|
if (m_dev)
|
if (m_dev)
|
DmgrClose(m_dev);
|
DmgrClose(m_dev);
|
m_dev = 0;
|
m_dev = 0;
|
|
LLCOMMSI::close();
|
}
|
}
|
|
|
void DEPPI::depperr(void) {
|
void DEPPI::depperr(void) {
|
ERC erc = DmgrGetLastError();
|
ERC erc = DmgrGetLastError();
|
if(erc != ercNoErc) {
|
if(erc != ercNoErc) {
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.