Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
701e5804
Commit
701e5804
authored
Nov 18, 2016
by
yoogx
Browse files
* Properly configure CONFIGURE_EXTRA_STACK
For issue
#14
parent
3ec6ce25
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/po_hi_common.h
View file @
701e5804
...
...
@@ -97,9 +97,8 @@
rtems_task
Init
(
rtems_task_argument
no_argument
);
#endif
/*
#define CONFIGURE_EXTRA_TASK_STACKS (20 * RTEMS_MINIMUM_STACK_SIZE)
*/
#define CONFIGURE_EXTRA_TASK_STACKS __PO_HI_TASKS_STACK
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_BARRIERS 1 + __PO_HI_NB_PORTS + 1
...
...
@@ -114,18 +113,18 @@ int rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig*, int);
static
struct
rtems_bsdnet_ifconfig
loopback_config
=
{
"lo0"
,
rtems_bsdnet_loopattach
,
NULL
,
"127.0.0.1"
,
"255.0.0.0"
,
};
#undef RTEMS_BSP_NETWORK_DRIVER_NAME
#undef RTEMS_BSP_NETWORK_DRIVER_NAME
#undef RTEMS_BSP_NETWORK_DRIVER_ATTACH
#define RTEMS_BSP_NETWORK_DRIVER_NAME "ne1"
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach
struct
rtems_bsdnet_ifconfig
netdriver_config
=
struct
rtems_bsdnet_ifconfig
netdriver_config
=
{
RTEMS_BSP_NETWORK_DRIVER_NAME
,
RTEMS_BSP_NETWORK_DRIVER_ATTACH
,
&
loopback_config
,
"192.168.0.1"
,
"255.255.255.0"
,
(
char
[]){
0x00
,
0x1F
,
0xC6
,
0xBF
,
0x74
,
0x06
},
0
,
0
,
0
,
0
,
0
,
9
};
struct
rtems_bsdnet_config
rtems_bsdnet_config
=
struct
rtems_bsdnet_config
rtems_bsdnet_config
=
{
&
netdriver_config
,
NULL
,
0
,
256
*
1024
,
256
*
1024
,};
#endif
/*(defined (X86_RTEMS) */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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