Minor cleanup.

This commit is contained in:
Wolfgang Denk 2006-05-30 15:58:20 +02:00
parent ba94a1bba3
commit d945527305
12 changed files with 74 additions and 2592 deletions

File diff suppressed because it is too large Load Diff

View File

@ -799,10 +799,10 @@ IxEthDBStatus ixEthDBFilteringDatabaseShowRecords(IxEthDBPortId portID, IxEthDBR
* @verbatim
IxEthDBPortMap portMap;
// clear all ports from port map
/* clear all ports from port map */
memset(portMap, 0, sizeof (portMap));
// include portID in port map
/* include portID in port map */
portMap[portID / 8] = 1 << (portID % 8);
@endverbatim
*

View File

@ -63,13 +63,12 @@
* @{
*/
/* Low-level conversion macros - DO NOT USE UNLESS ABSOLUTELY NEEDED */
#ifndef __wince
/*
* Private function to swap word*//*
* Private function to swap word
*/
#ifdef __XSCALE__
static __inline__ UINT32
@ -92,7 +91,6 @@ ixOsalCoreWordSwap (UINT32 wordIn)
return wordOut;
}
#define IX_OSAL_SWAP_LONG(wData) (ixOsalCoreWordSwap(wData))
#else
#define IX_OSAL_SWAP_LONG(wData) ((wData >> 24) | (((wData >> 16) & 0xFF) << 8) | (((wData >> 8) & 0xFF) << 16) | ((wData & 0xFF) << 24))
@ -172,7 +170,6 @@ typedef struct _IxOsalMemoryMap
UINT32 size; /**< size of the map */
UINT32 virtualAddress; /**< virtual address of the zone; must be predefined
in the global memory map for static maps and has
to be NULL for dynamic maps (populated on allocation)
@ -318,7 +315,6 @@ ixOsalIoMemPhysToVirt (UINT32 physicalAddress, UINT32 coherency);
#define IX_OSAL_MMAP_PHYS_TO_VIRT(physAddr) \
ixOsalIoMemPhysToVirt(physAddr, IX_OSAL_COMPONENT_MAPPING)
/**
* @} IxOsalIoMem
*/

View File

@ -7,4 +7,4 @@
while(1); \
}
#endif // IxOsalOsAssert_H
#endif /* IxOsalOsAssert_H */

View File

@ -55,7 +55,7 @@
#include "IxOsalBufferMgtDefault.h"
#if 0 // FIXME
#if 0 /* FIXME */
/* Define os-specific buffer macros for subfields */
#define IX_OSAL_OSBUF_MDATA(osBufPtr) IX_OSAL_MBUF_MDATA(osBufPtr)
( ((M_BLK *) osBufPtr)->m_data )
@ -91,6 +91,6 @@
} \
}
#endif // FIXME
#endif /* FIXME */
#endif /* #define IX_OSAL_OS_BUFFER_MGT_H */

View File

@ -17,7 +17,7 @@ typedef u16 USHORT;
typedef u8 UCHAR;
typedef u32 BOOL;
#if 0 // FIXME
#if 0 /* FIXME */
/* Default stack limit is 10 KB */
#define IX_OSAL_OS_THREAD_DEFAULT_STACK_SIZE (10240)
@ -31,7 +31,7 @@ typedef u32 BOOL;
/* Thread maximum priority (0 - 255). 0 - highest priority */
#define IX_OSAL_OS_MAX_THREAD_PRIORITY (255)
#endif // FIXME
#endif /* FIXME */
#define IX_OSAL_OS_WAIT_FOREVER (-1L)
#define IX_OSAL_OS_WAIT_NONE 0
@ -57,4 +57,4 @@ typedef struct
} IxOsalOsMessageQueue;
#endif // IxOsalOsTypes_H
#endif /* IxOsalOsTypes_H */

View File

@ -44,4 +44,3 @@ __ashldi3:
orrmi ah, ah, al, lsr ip
mov al, al, lsl r2
mov pc, lr

View File

@ -44,4 +44,3 @@ __ashrdi3:
orrmi al, al, ah, lsl ip
mov ah, ah, asr r2
mov pc, lr