Commit 1b4e1121 authored by claes's avatar claes

Platform linux_x86_64 added and linux_axp removed

parent 47d90e49
...@@ -384,7 +384,7 @@ int CnvWblToH::attribute_exec() ...@@ -384,7 +384,7 @@ int CnvWblToH::attribute_exec()
char alignstr[40]; char alignstr[40];
char alignstr_filler[40]; char alignstr_filler[40];
#if defined(__x86_64__) #if defined(HW_X86_64)
strcpy( alignstr, " __attribute__ ((aligned(4)))"); strcpy( alignstr, " __attribute__ ((aligned(4)))");
strcpy( alignstr_filler, " __attribute__ ((aligned(1)))"); strcpy( alignstr_filler, " __attribute__ ((aligned(1)))");
#else #else
......
...@@ -116,9 +116,10 @@ EOF ...@@ -116,9 +116,10 @@ EOF
pwra_parse () pwra_parse ()
{ {
platform="x86_linux" machine=`eval uname -m`
platform=$machine"_linux"
os="os_linux" os="os_linux"
hw="hw_x86" hw="hw_"$machine
#mysql_socket="--socket /var/lib/mysql/mysql.sock" #mysql_socket="--socket /var/lib/mysql/mysql.sock"
local cmd local cmd
......
...@@ -116,9 +116,10 @@ EOF ...@@ -116,9 +116,10 @@ EOF
pwra_parse () pwra_parse ()
{ {
platform="x86_linux" machine=`eval uname -m`
platform=$machine"_linux"
os="os_linux" os="os_linux"
hw="hw_x86" hw="hw_"$machine
#mysql_socket="--socket /var/lib/mysql/mysql.sock" #mysql_socket="--socket /var/lib/mysql/mysql.sock"
local cmd local cmd
......
...@@ -254,9 +254,10 @@ let OpSys_PPC_LYNX=4 ...@@ -254,9 +254,10 @@ let OpSys_PPC_LYNX=4
let OpSys_X86_LYNX=5 let OpSys_X86_LYNX=5
let OpSys_PPC_LINUX=6 let OpSys_PPC_LINUX=6
let OpSys_X86_LINUX=7 let OpSys_X86_LINUX=7
let OpSys__High=8 let OpSys_X86_64_LINUX=8
let OpSys__High=9
vOpSys="vax_eln,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux" vOpSys="vax_eln,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux,x86_64_linux"
let FileType__Low=-1 let FileType__Low=-1
let FileType_Process=0 let FileType_Process=0
...@@ -302,7 +303,7 @@ fi ...@@ -302,7 +303,7 @@ fi
OsStr="`echo $vOpSys| cut -f $OpSys -d ,`" OsStr="`echo $vOpSys| cut -f $OpSys -d ,`"
let FileTypeIdx=$FileType+1 let FileTypeIdx=$FileType+1
if [ $OpSys -eq $OpSys_PPC_LINUX ] || [ $OpSys -eq $OpSys_X86_LINUX ]; if [ $OpSys -eq $OpSys_PPC_LINUX ] || [ $OpSys -eq $OpSys_X86_LINUX ] || [ $OpSys -eq $OpSys_X86_64_LINUX ];
then then
pwrp_gc="$pwrp_tmp" pwrp_gc="$pwrp_tmp"
......
...@@ -101,7 +101,7 @@ extern "C" { ...@@ -101,7 +101,7 @@ extern "C" {
#define IS_LINUX(os) ((os & pwr_mOpSys_PPC_LINUX) \ #define IS_LINUX(os) ((os & pwr_mOpSys_PPC_LINUX) \
|| (os & pwr_mOpSys_X86_LINUX) \ || (os & pwr_mOpSys_X86_LINUX) \
|| (os & pwr_mOpSys_AXP_LINUX)) || (os & pwr_mOpSys_X86_64_LINUX))
#define IS_UNIX(os) (IS_LINUX(os) || IS_LYNX(os)) #define IS_UNIX(os) (IS_LINUX(os) || IS_LYNX(os))
...@@ -843,8 +843,8 @@ static pwr_tStatus gcg_get_build_host( ...@@ -843,8 +843,8 @@ static pwr_tStatus gcg_get_build_host(
strcpy(logname, "pwr_build_host_ppc_linux"); strcpy(logname, "pwr_build_host_ppc_linux");
else if (os & pwr_mOpSys_X86_LINUX) else if (os & pwr_mOpSys_X86_LINUX)
strcpy(logname, "pwr_build_host_x86_linux"); strcpy(logname, "pwr_build_host_x86_linux");
else if (os & pwr_mOpSys_AXP_LINUX) else if (os & pwr_mOpSys_X86_64_LINUX)
strcpy(logname, "pwr_build_host_axp_linux"); strcpy(logname, "pwr_build_host_x86_64_linux");
else else
return GSX__NOBUILDHOST; return GSX__NOBUILDHOST;
...@@ -5171,9 +5171,9 @@ int gcg_comp_rtnode( ...@@ -5171,9 +5171,9 @@ int gcg_comp_rtnode(
strcpy( os_str, "X86_LINUX"); /* Not used */ strcpy( os_str, "X86_LINUX"); /* Not used */
max_no_timebase = GCG_MAX_NO_TIMEBASE_LINUX; max_no_timebase = GCG_MAX_NO_TIMEBASE_LINUX;
break; break;
case pwr_mOpSys_AXP_LINUX: case pwr_mOpSys_X86_64_LINUX:
strcpy( objdir, "xxx"); strcpy( objdir, "xxx");
strcpy( os_str, "AXP_LINUX"); /* Not used */ strcpy( os_str, "X86_64_LINUX"); /* Not used */
max_no_timebase = GCG_MAX_NO_TIMEBASE_LINUX; max_no_timebase = GCG_MAX_NO_TIMEBASE_LINUX;
break; break;
default: default:
...@@ -5398,7 +5398,7 @@ int gcg_comp_rtnode( ...@@ -5398,7 +5398,7 @@ int gcg_comp_rtnode(
break; break;
case pwr_mOpSys_PPC_LINUX: case pwr_mOpSys_PPC_LINUX:
case pwr_mOpSys_X86_LINUX: case pwr_mOpSys_X86_LINUX:
case pwr_mOpSys_AXP_LINUX: case pwr_mOpSys_X86_64_LINUX:
case pwr_mOpSys_X86_LYNX: case pwr_mOpSys_X86_LYNX:
case pwr_mOpSys_PPC_LYNX: case pwr_mOpSys_PPC_LYNX:
l += sprintf( &plclib_frozen[l], "%s%s ", PLCLIB_FROZEN_LINK_UNIX, l += sprintf( &plclib_frozen[l], "%s%s ", PLCLIB_FROZEN_LINK_UNIX,
......
...@@ -1279,7 +1279,7 @@ pwr_tStatus lfu_SaveDirectoryVolume( ...@@ -1279,7 +1279,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
os == pwr_mOpSys_X86_LYNX || os == pwr_mOpSys_X86_LYNX ||
os == pwr_mOpSys_PPC_LINUX || os == pwr_mOpSys_PPC_LINUX ||
os == pwr_mOpSys_X86_LINUX || os == pwr_mOpSys_X86_LINUX ||
os == pwr_mOpSys_AXP_LINUX)) { os == pwr_mOpSys_X86_64_LINUX)) {
char msg[200]; char msg[200];
sprintf( msg, "Error in NodeConfig object '%s', OperatingSystem is not valid", nodeconfig_name); sprintf( msg, "Error in NodeConfig object '%s', OperatingSystem is not valid", nodeconfig_name);
MsgWindow::message( 'E', msg, msgw_ePop_Default); MsgWindow::message( 'E', msg, msgw_ePop_Default);
...@@ -2803,7 +2803,7 @@ pwr_tStatus lfu_check_opt_file( char *nodename, int bus_number, pwr_mOpSys opsys ...@@ -2803,7 +2803,7 @@ pwr_tStatus lfu_check_opt_file( char *nodename, int bus_number, pwr_mOpSys opsys
case pwr_mOpSys_X86_LYNX: case pwr_mOpSys_X86_LYNX:
case pwr_mOpSys_PPC_LINUX: case pwr_mOpSys_PPC_LINUX:
case pwr_mOpSys_X86_LINUX: case pwr_mOpSys_X86_LINUX:
case pwr_mOpSys_AXP_LINUX: case pwr_mOpSys_X86_64_LINUX:
fp << fp <<
"$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy" << endl; "$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy" << endl;
break; break;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "wb_treeimport.h" #include "wb_treeimport.h"
#define wblAlign(size) (((size) + 3) & ~3) #define wblAlign(size) (((size) + 3) & ~3)
#if defined(__x86_64__) #if defined(HW_X86_64)
#define wblAlign8(offs) (((offs) + 7) & ~7) #define wblAlign8(offs) (((offs) + 7) & ~7)
#else #else
#define wblAlign8(offs) (offs) #define wblAlign8(offs) (offs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment