- use build in data types

git-svn-id: http://moon:8086/svn/mips@35 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2015-05-28 19:19:01 +00:00
parent 3263f9d79c
commit a655e1c5d9
54 changed files with 1551 additions and 1583 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
#include "libsys.h"
#include "gpio.h"
int uncached_cachemiss_bug(UINT32* pMem)
int uncached_cachemiss_bug(uint32_t* pMem)
{
UINT32 result;
uint32_t result;
pMem[0] = 0x12345678;
pMem[1] = 0xFFFFFFFF;
@@ -34,7 +34,7 @@ int uncached_cachemiss_bug(UINT32* pMem)
int main()
{
UINT32 volatile *pLed = (UINT32*)SYS_GPIO_0_BASE;
uint32_t volatile *pLed = (uint32_t*)SYS_GPIO_0_BASE;
int buf[256], res;
res = uncached_cachemiss_bug(buf);