Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>
++
[ In BuildTree arch o | o <- objs ]
++
+ [Str "-Wl,--start-group"]
+ ++
+ [ In BuildTree arch l | l <- libs ]
+ ++
[Str "-Wl,--whole-archive"] ++ [ In BuildTree arch l | l <- mods ] ++ [Str "-Wl,--no-whole-archive"]
++
+ [ In BuildTree arch l | l <- libs ]
+ ++
(optLibs opts)
+ ++
+ [Str "-Wl,--end-group"]
--
"ddomain",
"dcontrol",
"net_filter",
+ "twl6030",
- "cm2"
++ "cm2",
+ "net_sockets"
],
arch <- allArchitectures
] ++
#include "sdma.h"
#include "omap_sdma.h"
+ #define MIN(a,b) (((a)<(b))?(a):(b))
+
-// Channel State. Filled by the interrupt callback, read by the request task.
-static struct {
- awe_t *request;
- errval_t err;
-} channel_state[OMAP44XX_SDMA_NUM_CHANNEL];
-
/**
* \brief Interrupt callback which will be called when a channel interrupt
* occurs.