using common.c to extract date and using nios.c to check kernel version(a bit specific to nios) and using c api instead of system command to get uname

This commit is contained in:
2020-09-10 18:41:31 +02:00
parent cf8785ad2e
commit 00f780665f
6 changed files with 74 additions and 85 deletions

View File

@ -87,3 +87,7 @@ int mapCSP0(void);
* Get Nios base address
*/
u_int32_t *Nios_getBaseAddress();
/** check kernel version against expected version string (complain if too old)
* @returns OK or FAIL */
int Nios_checkKernelVersion(char *expectedVersion);