Subject: Re: Support for ARM9E
To: Richard Earnshaw <>
From: Scott <>
List: port-arm
Date: 07/27/2006 18:18:17
Richard Earnshaw wrote:
> Anyway, you don't have to handle this as a completely separate core, you 
> just need to provide a suitable vector table.

Ah, right.  So in set_cpufuncs, instead of unconditionally doing:

		cpufuncs = arm10_cpufuncs;

Instead do something like:

		if (cputype == CPU_ID_ARM926EJS ||
		    cputype == CPU_ID_ARM1026EJS) {
			cpufuncs = arm10_eff_clean_cpufuncs;
			cpufuncs = arm10_cpufuncs;

or perhaps, just replace the fields of arm10_cpufuncs that should be different.

I'll go ahead and work on a patch for consideration.

Thanks much,