Skip to contentSkip to conversation

adeos-linux-2.4.22-armnommu-r14.patch / __adeos_switch_domain

Adeos-main Andre Tousch 1 participant 1 message Jan 7, 2005

lore
Share & tools
lore
#0 lore raw

Hi,
in the adeos-linux-2.4.22-armnommu-r14.patch (and r12 also) I have met the following issue : __adeos_switch_domain is linked into the .text.init section.
That is , if free_init_mem() is called at end of boot, the code is overwritten and the system crashes.
However - I don't know why - it depends on the TEXTADDR. Depending on the TEXTADDR, free_init_mem() does'nt overwrite all the init section (If you know why, please tell me :) ). The error is priduced by the modifications made to entry-armv.S.

Regards,
André