latest sparc32 patch from Blueswirl

git-svn-id: svn://coreboot.org/openbios/openbios-devel@13 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Stefan Reinauer
2006-05-07 16:40:13 +00:00
parent d80454d07a
commit 1ab6b463ad
27 changed files with 2723 additions and 37 deletions

View File

@@ -68,7 +68,7 @@ unicode_uni2asc(char *astr, const hfsp_unistr255 *ustr, int maxlen)
fastUnicodeCompare - Compare two Unicode strings; produce a relative ordering
*/
static UInt16 gLowerCaseTable[];
static const UInt16 gLowerCaseTable[];
SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
const hfsp_unistr255 *ustr2)
@@ -78,7 +78,7 @@ SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
register UInt16 temp;
register UInt16 length1 = ustr1->strlen;
register UInt16 length2 = ustr2->strlen;
register UInt16* lowerCaseTable = gLowerCaseTable;
register const UInt16* lowerCaseTable = gLowerCaseTable;
register UInt16* str1 = ustr1->name;
register UInt16* str2 = ustr2->name;
@@ -118,7 +118,7 @@ SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1,
Ignored characters are mapped to zero.
*/
static UInt16 gLowerCaseTable[] = {
static const UInt16 gLowerCaseTable[] = {
// High-byte indices ( == 0 iff no case mapping and no ignorables )