Mike Frysinger wrote: > arch/blackfin/... > .../mach-common/entry.S > - schedule_and_signal_from_int calls finish_atomic_sections > .../kernel/process.c > - finish_atomic_sections takes care of register munging > .../kernel/fixed_code.S > - this is the pure assembly that is relocated at kernel boot time >
I'll take a look. > > i'm not entirely sure what you're talking about here. the fixed code we have > is for user space only and is not used directly by kernel space at all. That is my intention right now, too. > the > atomic functions are all trivial and impotent, so doing the register/memory > munging directly and setting the PC to the end of the relevant function is > easy to do. Sounds good. Using a hardware Futex with a NIOS2 custom instruction would be just another option that might or might not be advantageous, but of course not possible with Blackfin. -Michael _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev