-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tmbinc
committed
Jul 13, 2009
1 parent
b4686ac
commit 1ff4711
Showing
10 changed files
with
1,264 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include "lib_types.h" | ||
#include "lib_queue.h" | ||
#include "lib_malloc.h" | ||
#include "cfe_console.h" | ||
#include "addrspace.h" | ||
#include <cache.h> | ||
|
||
#include <string.h> | ||
#include <vsprintf.h> | ||
|
||
typedef void *hsaddr_t; | ||
#define HSADDR2PTR(x) x | ||
#define PTR2HSADDR(x) x | ||
|
||
#define CFE_HZ 1000 | ||
|
||
#define cfe_sleep mdelay | ||
|
||
#define xprintf printf | ||
|
||
#define hs_memcpy_from_hs memcpy | ||
#define hs_memcpy_to_hs memcpy | ||
|
||
static inline void CACHE_DMA_SYNC(void *x, int l) { dcache_flush(x, l); } | ||
static inline void CACHE_DMA_INVAL(void *x, int l) { dcache_flush(x, l); } | ||
|
Oops, something went wrong.