forked from Imagelibrary/rtems
@@ -41,7 +41,7 @@ Shm_Print_statistics(void)
|
||||
packets_per_second++;
|
||||
|
||||
printk( "\n\nSHMDR STATISTICS (NODE %" PRId32 ")\n",
|
||||
Multiprocessing_configuration.node );
|
||||
rtems_object_get_local_node() );
|
||||
printk( "TICKS SINCE BOOT = %" PRId32 "\n", ticks );
|
||||
printk( "TICKS PER SECOND = %" PRId32 "\n", ticks_per_second );
|
||||
printk( "ISRs=%" PRId32 "\n", Shm_Interrupt_count );
|
||||
|
||||
@@ -46,7 +46,7 @@ rtems_mpci_entry Shm_Initialization( void )
|
||||
uint32_t remaining_memory;
|
||||
uint32_t local_node;
|
||||
|
||||
local_node = _Configuration_MP_table->node;
|
||||
local_node = rtems_object_get_local_node();
|
||||
|
||||
Shm_Get_configuration( local_node, &Shm_Configuration );
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ rtems_mpci_entry Shm_Send_packet(
|
||||
}
|
||||
else {
|
||||
for( nnum = SHM_FIRST_NODE ; nnum <= SHM_MAXIMUM_NODES ; nnum++ )
|
||||
if ( _Configuration_MP_table->node != nnum ) {
|
||||
if ( rtems_object_get_local_node() != nnum ) {
|
||||
struct pkt_cpy *pkt;
|
||||
|
||||
tmp_ecb = Shm_Allocate_envelope();
|
||||
|
||||
Reference in New Issue
Block a user