- use build in data types
git-svn-id: http://moon:8086/svn/mips@35 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user