This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Generic strlen
- From: "Schwarz, Konrad" <konrad dot schwarz at siemens dot com>
- To: Eric Blake <eblake at redhat dot com>, "David A. Ramos" <daramos at stanford dot edu>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Tue, 2 Nov 2010 09:01:00 +0100
- Subject: RE: Generic strlen
- References: <9D4C8B44-FF83-43A1-A891-4AFB116679EA@stanford.edu> <4CCB0C4D.70105@redhat.com>
> Prove to me that there is an architecture that
> can fault on anything less than a word boundary, and then
> we'll talk about changing the code.
The "Memory Protection System" of Infineon's TriCore architecture,
a memory protection unit (which can alternatively be used to trigger
the hardware debugger) has full-width upper and lower
address bound registers; that is, can specify arbitrary byte addresses.
HighTec EDV GmbH purveys a version of GCC for this architecture:
http://www.hightec-rt.com/en/products/compiler-debugger/76-tricore-pxros-development-platform.html
I don't know if HighTec uses newlib. (I don't have much of an opinion
on this issue anyway).
Konrad
PS: the ARM Cortex-M3 Memory Protection Unit does not go down to byte level.