Fixed bug 3515531.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4152 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
699601807c
commit
a9d332ad9d
|
@ -103,7 +103,7 @@ static void low_level_init(struct netif *netif) {
|
|||
netif->mtu = 1500;
|
||||
|
||||
/* device capabilities */
|
||||
/* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */
|
||||
/* don't set NETIF_FLAG_ETHARP if this device is not an Ethernet one */
|
||||
netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;
|
||||
|
||||
/* Do whatever else is needed to initialize interface. */
|
||||
|
|
|
@ -60,7 +60,7 @@ static unsigned cnt;
|
|||
static EventSource inserted_event, removed_event;
|
||||
|
||||
/**
|
||||
* @brief Inserion monitor function.
|
||||
* @brief Insertion monitor function.
|
||||
*
|
||||
* @param[in] sdcp pointer to the @p SDCDriver object
|
||||
*
|
||||
|
@ -87,7 +87,7 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Inserion monitor timer callback function.
|
||||
* @brief Insertion monitor timer callback function.
|
||||
*
|
||||
* @param[in] p pointer to the @p SDCDriver object
|
||||
*
|
||||
|
|
|
@ -128,7 +128,7 @@ DEBUG = dwarf-2
|
|||
|
||||
|
||||
# List any extra directories to look for include files here.
|
||||
# Each directory must be seperated by a space.
|
||||
# Each directory must be separated by a space.
|
||||
# Use forward slashes for directory separators.
|
||||
# For a directory that has spaces, enclose it in quotes.
|
||||
EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||
|
@ -254,7 +254,7 @@ MATH_LIB = -lm
|
|||
|
||||
|
||||
# List any extra directories to look for libraries here.
|
||||
# Each directory must be seperated by a space.
|
||||
# Each directory must be separated by a space.
|
||||
# Use forward slashes for directory separators.
|
||||
# For a directory that has spaces, enclose it in quotes.
|
||||
EXTRALIBDIRS =
|
||||
|
|
|
@ -128,7 +128,7 @@ DEBUG = dwarf-2
|
|||
|
||||
|
||||
# List any extra directories to look for include files here.
|
||||
# Each directory must be seperated by a space.
|
||||
# Each directory must be separated by a space.
|
||||
# Use forward slashes for directory separators.
|
||||
# For a directory that has spaces, enclose it in quotes.
|
||||
EXTRAINCDIRS = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||
|
@ -254,7 +254,7 @@ MATH_LIB = -lm
|
|||
|
||||
|
||||
# List any extra directories to look for libraries here.
|
||||
# Each directory must be seperated by a space.
|
||||
# Each directory must be separated by a space.
|
||||
# Use forward slashes for directory separators.
|
||||
# For a directory that has spaces, enclose it in quotes.
|
||||
EXTRALIBDIRS =
|
||||
|
|
|
@ -265,7 +265,7 @@ Mutex *chMtxUnlock(void) {
|
|||
chDbgAssert(ctp->p_mtxlist->m_owner == ctp,
|
||||
"chMtxUnlock(), #2",
|
||||
"ownership failure");
|
||||
/* Removes the top Mutex from the Thread's owned mutexes list and matk it
|
||||
/* Removes the top Mutex from the Thread's owned mutexes list and mark it
|
||||
as not owned.*/
|
||||
ump = ctp->p_mtxlist;
|
||||
ctp->p_mtxlist = ump->m_next;
|
||||
|
|
|
@ -172,7 +172,7 @@ struct intctx {};
|
|||
|
||||
#if (CH_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Inlineable version of this kernel function.
|
||||
* @brief Inline-able version of this kernel function.
|
||||
*/
|
||||
#define chSchIsPreemptionRequired() \
|
||||
(rlist.r_preempt ? firstprio(&rlist.r_queue) > currp->p_prio : \
|
||||
|
|
|
@ -173,7 +173,7 @@ struct intctx {};
|
|||
|
||||
#if (CH_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Inlineable version of this kernel function.
|
||||
* @brief Inline-able version of this kernel function.
|
||||
*/
|
||||
#define chSchIsPreemptionRequired() \
|
||||
(rlist.r_preempt ? firstprio(&rlist.r_queue) > currp->p_prio : \
|
||||
|
|
|
@ -172,7 +172,7 @@ struct intctx {};
|
|||
|
||||
#if (CH_TIME_QUANTUM > 0) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Inlineable version of this kernel function.
|
||||
* @brief Inline-able version of this kernel function.
|
||||
*/
|
||||
#define chSchIsPreemptionRequired() \
|
||||
(rlist.r_preempt ? firstprio(&rlist.r_queue) > currp->p_prio : \
|
||||
|
|
Loading…
Reference in New Issue