crt0.h 560 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2017 CERN (www.cern.ch)
* Author: Adam Wujek <adam.wujek@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#ifndef __CRT0_H__
#define __CRT0_H__

/* offsets for crt0.s */
#define WRPC_MARK		0x80
#define SOFTPLL_PADDR		0x90
#define FIFO_LOG_PADDR		0x94
#define PPI_STATIC_PADDR	0x98
#define STATS_PADDR		0x9c
#define UPTIME_SEC_ADDR		0xa0
#define VERSION_WRPC_ADDR	0xa4
#define VERSION_PPSI_ADDR	0xa5
21
#define HDL_TESTBENCH_PADDR	0xbc
22 23

#endif /* __CRT0_H__ */