[PATCH 0/4] libmm: support for memory management hardware
Gedare Bloom
gedare at rtems.org
Fri Oct 12 13:47:11 UTC 2012
Thanks Ralf. I agree that this code needs more work. If you have the
time I'd appreciate your insight on the patches themselves where you
observe improper variable use, both in type and in attribute, perhaps
you can show one or two examples of patterns to fix.
The copyright issue needs to be clarified by the students. I believe
they just copy-pasted the copyright header block from some other file,
hence the odd dates. I should prefer that they identify which files
they wrote. I looked back through all 3 GSOC projects and could not
find adequate copyright notices on any of the code.
-Gedare
On Fri, Oct 12, 2012 at 12:48 AM, Ralf Corsepius
<ralf.corsepius at rtems.org> wrote:
> On 10/11/2012 09:10 PM, Gedare Bloom wrote:
>>
>> This patch series adds support for handling memory management
>> hardware such as MMUs/MPUs. This work is the result of 3 GSOC
>> efforts with contributions from Aanjhan Ranganathan, Quanming Shi,
>> and Hesham Al-Matary as student coders, and Thomas Doerfler,
>> Peter Dufault, and Gedare Bloom as primary mentors. These specific
>> patches are my (Gedare) revisions to the last pull request from
>> Hesham's GSOC2012 project. My revisions were mainly stylistic.
>
>
> To me, these patches need further work.
>
> * Many types seem to be used incorrectly (e.g. uint32_t instead of size_t).
>
> Symptom of this presumed incorrectnesses are the amount of casts being used
> in address arithmetic. If the types were correct, most of the cast should
> not be necessary.
>
>
> * There are local extern vars to share vars between files.
>
> As mentioned several times before, this means, these works do not implement
> a proper API.
>
>
> * The copyrights are questionable and possibly incorrect:
>
> Most files state "Copyright OAR 1989-2012".
> Have these files been derived from older files in RTEMS? If so, the files
> they have been derived from should better be mentioned somewhere.
> Are these files new? Then these files _are_ copyrighted "2012 only" by their
> respective authors due to legal constraints.
>
>
> Minor issue:
>
> * Formating issues, such as tabs in Makefile.ams, etc.
>
>
> Ralf
>
>
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
More information about the devel
mailing list