FreeCalypso > hg > freecalypso-sw
annotate target-utils/libcommon/cmd_dieid.c @ 629:e7ba9fcb3637
target-utils: move loadagent to 0x838000 in preparation for ramImages that
load iram.text directly into IRAM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Sep 2014 08:32:22 +0000 |
parents | 8387dcba945d |
children |
rev | line source |
---|---|
69
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 #include "types.h" |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 void |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 cmd_dieid() |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 { |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 u32 addr; |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 for (addr = 0xFFFEF010; addr <= 0xFFFEF016; addr += 2) |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 printf("%08X: %04X\n", addr, *(volatile u16 *)addr); |
8387dcba945d
pirexplore: dieid command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 } |