Subversion Repositories Kolibri OS

Rev

Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1498 Rev 2216
Line 6... Line 6...
6
 
6
 
7
/******************************************************************************
7
/******************************************************************************
8
 *
8
 *
9
 * 1. Copyright Notice
9
 * 1. Copyright Notice
10
 *
10
 *
11
 * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
11
 * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp.
12
 * All rights reserved.
12
 * All rights reserved.
13
 *
13
 *
14
 * 2. License
14
 * 2. License
15
 *
15
 *
Line 452... Line 452...
452
void
452
void
453
AcpiDbUInt32ToHexString (
453
AcpiDbUInt32ToHexString (
454
    UINT32                  Value,
454
    UINT32                  Value,
455
    char                    *Buffer)
455
    char                    *Buffer)
456
{
456
{
457
    UINT8                   i;
457
    int                     i;
Line 458... Line 458...
458
 
458
 
459
 
459
 
460
    if (Value == 0)
460
    if (Value == 0)
461
    {
461
    {
462
        ACPI_STRCPY (Buffer, "0");
462
        ACPI_STRCPY (Buffer, "0");
Line 463... Line -...
463
        return;
-
 
464
    }
463
        return;
Line 465... Line 464...
465
 
464
    }
466
    ACPI_STRCPY (Buffer, "0x");
465
 
467
    Buffer[10] = '\0';
466
    Buffer[8] = '\0';
468
 
467
 
469
    for (i = 9; i > 1; i--)
468
    for (i = 7; i >= 0; i--)
470
    {
469
    {