Browse Source

Updated printLogo().

master
Hanhui 8 years ago
parent
commit
ad72775d19
  1. 19
      target/src/usrLib.c

19
target/src/usrLib.c

@ -75,10 +75,6 @@ void printLogo (void)
" ]]]]]]]]]]]]]]]]]]]]]]]]]]]]] Development System\n"
" ]]]]]]]]]]]]]]]]]]]]]]]]]]]]";
int fd;
ssize_t num;
char buffer[256];
printf("%s\n", logo);
printf("%s%s %s\n",
" ]]]]]]]]]]]]]]]]]]]]]]]]]]] ", runtimeName, runtimeVersion);
@ -86,20 +82,11 @@ void printLogo (void)
" ]]]]]]]]]]]]]]]]]]]]]]]]]] KERNEL: ", LIB_VXWORKS_VERSION);
printf("%s\n",
" ]]]]]]]]]]]]]]]]]]]]]]]]] Copyright SylixOS Group. 2006-2017");
printf ("\n");
printf("\n");
fd = open("/proc/cpuinfo", O_RDONLY);
if (fd >= 0) {
do {
num = read(fd, buffer, sizeof(buffer));
if (num > 0) {
write(STD_OUT, buffer, num);
}
} while (num > 0);
close(fd);
}
API_SystemHwInfoPrint();
printf ("\n");
printf("\n");
}
/*

Loading…
Cancel
Save