Linux

Monday, August 06, 2012

aligned attribute in RVCT

The aligned variable attribute specifies a minimum alignment for the variable or structure field, measured in bytes.
/* aligns on 4 byte boundary for ARM */
short Variable_Attributes_aligned_1[3] __attribute__ ((aligned));
/* aligned on 16 byte boundary */
int Variable_Attributes_aligned_0 __attribute__ ((aligned (16)));
 
This makes sure that the variable is placed in 4 byte aligned boundary.
 
Source:
ARM RVCT Reference guide 
 

Thursday, August 02, 2012

Removing Conduit Search in Firefox



Somehow the conduit search bar got automatically installed in Firefox. Every new tab opening up opened up conduit search. All searches were routed to Conduit.

To remove the conduit.
1. In a firefox tab type "about:config"  it will open up the firefox configuration settings.
2. Search for Conduit in that page. It will list all the configurations with Conduit as value.
3. There select each one and do a right click+Reset.
4.  Restart the firefox browser,this will remove the conduit configuration settings.

This removed the conduit from firefox.