svn commit: r221614 - projects/largeSMP/sys/powerpc/include
Attilio Rao
attilio at freebsd.org
Thu May 12 03:15:40 UTC 2011
2011/5/8 Attilio Rao <attilio at freebsd.org>:
> Author: attilio
> Date: Sun May 8 00:39:49 2011
> New Revision: 221614
> URL: http://svn.freebsd.org/changeset/base/221614
>
> Log:
> All architectures define the size-bounded types (uint32_t, uint64_t, etc.)
> starting from base C types (int, long, etc).
mips seems having the same issue, so here is my patch:
http://www.freebsd.org/~attilio/largeSMP/mips-atomic.diff
Please note that mips defines the 16/8 bits functions within support.S
but it really hadn't do (I didn't rewrite as inline functions because
I wasn't confident enough with modifying mips assembly).
In this patch I removed the 8-bits operations like they aren't used
anywhere and actually they weren't complete at all.
I tried almost all the MIPS config file with all modules and they
compile fine with this patch.
I have cpumask_t -> cpuset_t conversion ready and I'd commit to this
tree just after someone has tested this atomic alone.
Thanks,
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the svn-src-projects
mailing list