FreeCalypso > hg > freecalypso-sw
view target-utils/c139-lldbg/entryinfo.c @ 992:a7b0b426f9ca
target-utils: boot ROM UART autodetection revamped
The new implementation should work with both the familiar Calypso C035
boot ROM version found in our regular targets as well as the older
Calypso F741979B version found on the vintage D-Sample board.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 21:28:41 +0000 |
parents | d7830aee0d35 |
children |
line wrap: on
line source
#include "types.h" u32 lldbg_entry_cpsr; u32 lldbg_entry_sp; void cmd_entryinfo() { printf("CPSR on entry: %08X\n", lldbg_entry_cpsr); printf("SP on entry after register save: %08X\n", lldbg_entry_sp); }