Added support or the ARM processor

This commit is contained in:
Michiel Broek 2007-08-22 21:09:23 +00:00
parent df8d4452f2
commit e00223aedd
5 changed files with 21 additions and 21 deletions

View File

@ -3,6 +3,16 @@ $Id$
v0.91.10 21-Aug-2007
libmbse:
Added support or the ARM processor.
mbmon:
Added support or the ARM processor.
mbtask:
Added support or the ARM processor.
v0.91.9 16-May-2007 - 21-Aug-2007

View File

@ -4,7 +4,7 @@
* Purpose ...............: Signal names
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -36,7 +36,7 @@
* Signal handler signal names.
*/
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
char SigName[32][16] = { "NOSIGNAL",
"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL",

View File

@ -4,7 +4,7 @@
* Purpose ...............: Common string functions
*
*****************************************************************************
* Copyright (C) 1997-2005
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -393,6 +393,8 @@ char *OsCPU()
return (char *)"Alpha";
#elif __hppa__
return (char *)"HPPA";
#elif __arm__
return (char *)"ARM";
#else
#error "Unknown CPU"
#endif

View File

@ -4,7 +4,7 @@
* Purpose ...............: Monitor Program
*
*****************************************************************************
* Copyright (C) 1997-2006
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -439,6 +439,8 @@ void soft_info(void)
p = xstrcat(p, (char *)" Alpha)");
#elif defined(__hppa__)
p = xstrcat(p, (char *)" HPPA)");
#elif defined(_arm__)
p = xstrcat(p, (char *)" ARM)");
#else
#error "Unknown CPU"
#endif

View File

@ -4,7 +4,7 @@
* Purpose ...............: Signal names
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2007
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -36,7 +36,7 @@
* Signal handler signal names.
*/
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
char SigName[32][16] = { "NOSIGNAL",
"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL",
@ -48,7 +48,6 @@ char SigName[32][16] = { "NOSIGNAL",
"SIGXFSZ", "SIGVTALRM", "SIGPROF", "SIGWINCH",
"SIGIO", "SIGPWR", "SIGUNUSED"};
#elif defined(__PPC__) || defined(__ppc__)
char SigName[32][16] = { "NOSIGNAL",
@ -61,7 +60,6 @@ char SigName[32][16] = { "NOSIGNAL",
"SIGXFSZ", "SIGVTALRM", "SIGPROF", "SIGWINCH",
"SIGIO", "SIGPWR", "SIGUNUSED"};
#elif defined(__sparc__)
char SigName[32][16] = { "NOSIGNAL",
@ -74,7 +72,7 @@ char SigName[32][16] = { "NOSIGNAL",
"SIGXFSZ", "SIGVTALRM", "SIGPROF", "SIGWINCH",
"SIGLOST", "SIGUSR1", "SIGUSR2"};
#elif defined(__alpha__)
#elif defined(__alpha__) || defined(__hppa__)
char SigName[32][16] = { "NOSIGNAL",
"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL",
@ -86,18 +84,6 @@ char SigName[32][16] = { "NOSIGNAL",
"SIGXFSZ", "SIGVTALRM", "SIGPROF", "SIGWINCH",
"SIGINFO", "SIGUSR1", "SIGUSR2"};
#elif defined(__hppa__)
char SigName[32][16] = { "NOSIGNAL",
"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL",
"SIGTRAP", "SIGABRT", "SIGEMT", "SIGFPE",
"SIGKILL", "SIGBUS", "SIGSEGV", "SIGSYS",
"SIGPIPE", "SIGALRM", "SIGTERM", "SIGURG",
"SIGSTOP", "SIGTSTP", "SIGCONT", "SIGCHLD",
"SIGTTIN", "SIGTTOU", "SIGWIO", "SIGXCPU",
"SIGXFSZ", "SIGVTALRM", "SIGPROF", "SIGWINCH",
"SIGINFO", "SIGUSR1", "SIGUSR2"};
#else
#error "Cannot make SigName array on this platform"
#endif