1. Refactor osal cpp files to c.
2. Update osal license to Apache-2.0 OR MIT.
3. Remove windows support.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic5545d861676880f7a6247515404d585cd4fcef5
1. Test block mode
2. Test non-block mode
3. Test timeout mode with not timeout write
4. Test timeout mode with timeout write
Change-Id: Ibf8253f0f43be1aba1a81a2e527198b6a08eab83
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>