Esempio n. 1
0
void
initialize_all_arch ()
{
	int i;
	for (i = 0; i < MAX_SUPP_ARCH; i++) {
		skyeye_archs[i] = NULL;
	}
	/* register arm_arch */
	init_arm_arch ();

	/* register bfin_arch */
	init_bfin_arch ();

	/* register mips_arch */
	init_mips_arch ();

	/* register coldfire_arch */
	init_coldfire_arch ();

	/* register ppc_arch */
	init_ppc_arch();

	/* register sparc_arch */
	init_sparc_arch();
}
Esempio n. 2
0
void module_init(){
	init_ppc_arch ();
	 /*
         * register all the supported mach to the common library.
         */
        int i = 0;
        while(ppc_machines[i].machine_name != NULL){
                register_mach(ppc_machines[i].machine_name, ppc_machines[i].mach_init);
                i++;
        }
}