Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mips changes for loongson2



On Aug 24, 2011, at 10:42 AM, Manuel Bouyer wrote:

> Hello,
> my work on getting the lemote fuloong working is almost ready to
> be commited (it'll be another evbmips sub-port: evbmips/loongson,
> which should also work on the lebote yeloong, the gdium and probably others).
> 
> This requires a few changes to some mips-specific files as in the attached
> patches:
> - bonito.diff:
>  make the 'struct bonito_config' const, so that it can be in kernel
>  text instead of data. This needs some __UNCONST() but I guess
>  it's no big deal.
>  Add a bc_attach_hook to struct bonito_config, to be used as pc_attach_hook
>  if not NULL.
>  Add some LS2-specific register defines (LS2f uses a modified bonito64).
> 
> - mips.diff:
>  add some LS2F specific defines to cpuregs.h
>  Fix a bug with VM_MAXUSER_ADDRESS and 16k pages (VM_MAXUSER_ADDRESS
>  doens't change with page size …)

Done differently.  


Home | Main Index | Thread Index | Old Index