URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [ethernet.c] - Diff between revs 422 and 430
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 422 |
Rev 430 |
Line 247... |
Line 247... |
OS_SemaphorePost(SemEthernet);
|
OS_SemaphorePost(SemEthernet);
|
}
|
}
|
|
|
|
|
/******************* CRC32 calculations **********************
|
/******************* CRC32 calculations **********************
|
* The CRC32 code is modified from Michale Barr's article in
|
* The CRC32 code is modified from Michael Barr's article in
|
* Embedded Systems Programming January 2000.
|
* Embedded Systems Programming January 2000.
|
* A CRC is really modulo-2 binary division. Substraction means XOR. */
|
* A CRC is really modulo-2 binary division. Substraction means XOR. */
|
static unsigned int Reflect(unsigned int value, int bits)
|
static unsigned int Reflect(unsigned int value, int bits)
|
{
|
{
|
unsigned int num=0;
|
unsigned int num=0;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.