Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
1b4e1121
Commit
1b4e1121
authored
Jun 01, 2009
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Platform linux_x86_64 added and linux_axp removed
parent
47d90e49
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
17 deletions
+20
-17
src/exe/co_convert/src/cnv_wbltoh.cpp
src/exe/co_convert/src/cnv_wbltoh.cpp
+1
-1
src/tools/pkg/deb/adm/pwra_env.sh
src/tools/pkg/deb/adm/pwra_env.sh
+3
-2
src/tools/pkg/ubu/adm/pwra_env.sh
src/tools/pkg/ubu/adm/pwra_env.sh
+3
-2
wb/exp/com/src/os_linux/wb_gcg.sh
wb/exp/com/src/os_linux/wb_gcg.sh
+4
-3
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+6
-6
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+2
-2
wb/lib/wb/src/wb_wblnode.cpp
wb/lib/wb/src/wb_wblnode.cpp
+1
-1
No files found.
src/exe/co_convert/src/cnv_wbltoh.cpp
View file @
1b4e1121
...
@@ -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
...
...
src/tools/pkg/deb/adm/pwra_env.sh
View file @
1b4e1121
...
@@ -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
...
...
src/tools/pkg/ubu/adm/pwra_env.sh
View file @
1b4e1121
...
@@ -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
...
...
wb/exp/com/src/os_linux/wb_gcg.sh
View file @
1b4e1121
...
@@ -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
"
...
...
wb/lib/wb/src/wb_gcg.cpp
View file @
1b4e1121
...
@@ -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
,
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
1b4e1121
...
@@ -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
;
...
...
wb/lib/wb/src/wb_wblnode.cpp
View file @
1b4e1121
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment