RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / usb / Beceem_driver / src / Common / Osal_Misc.c
blob0c3bf8070e29c865cf41b97a68582e3e7e668164
1 /*
2 * Osal_Misc.c
4 *Copyright (C) 2010 Beceem Communications, Inc.
6 *This program is free software: you can redistribute it and/or modify
7 *it under the terms of the GNU General Public License version 2 as
8 *published by the Free Software Foundation.
10 *This program is distributed in the hope that it will be useful,but
11 *WITHOUT ANY WARRANTY; without even the implied warranty of
12 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 *See the GNU General Public License for more details.
15 *You should have received a copy of the GNU General Public License
16 *along with this program. If not, write to the Free Software Foundation, Inc.,
17 *51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 /**********************************************************************
23 * Implements the Miscelanneous OS Construts
24 * Linked Lists
25 * Dispatcher Objects(Events,Semaphores,Spin Locks and the like)
26 * Files
27 ***********************************************************************/
30 #include <headers.h>
32 bool OsalMemCompare(void *dest, void *src, UINT len)
34 return (memcmp(src, dest, len));