/* This module is a confidential and proprietary property of RealTek and possession or use of this module requires written permission of RealTek.  */
LIBC_ROM_TEXT_SECTION _LONG_CALL_ u8* _strupr(IN u8 *string)
/* This module is a confidential and proprietary property of RealTek and possession or use of this module requires written permission of RealTek.  */
LIBC_ROM_TEXT_SECTION _LONG_CALL_ u8* _strupr(IN u8 *string)
{
    u8  *pStr;
    const   u8  diff = 'a' - 'A';
    pStr = string;
    while(*pStr){
        if ((*pStr >= 'a') && (*pStr <= 'z')){
            *pStr -= diff;
        }
        pStr++;
    }
    return string;
}