Subversion Repositories Kolibri OS

Rev

Rev 1498 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1498 Rev 2216
Line 7... Line 7...
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
 *
16
 * 2.1. This is your license from Intel Corp. under its intellectual property
16
 * 2.1. This is your license from Intel Corp. under its intellectual property
Line 345... Line 345...
345
 
345
 
Line 346... Line 346...
346
    /* Validate the Min/Max/Len/Gran values */
346
    /* Validate the Min/Max/Len/Gran values */
Line 347... Line 347...
347
 
347
 
348
    RsLargeAddressCheck (
348
    RsLargeAddressCheck (
349
        Descriptor->Address32.Minimum,
349
        (UINT64) Descriptor->Address32.Minimum,
350
        Descriptor->Address32.Maximum,
350
        (UINT64) Descriptor->Address32.Maximum,
351
        Descriptor->Address32.AddressLength,
351
        (UINT64) Descriptor->Address32.AddressLength,
352
        Descriptor->Address32.Granularity,
352
        (UINT64) Descriptor->Address32.Granularity,
353
        Descriptor->Address32.Flags,
353
        Descriptor->Address32.Flags,
Line 354... Line 354...
354
        MinOp, MaxOp, LengthOp, GranOp);
354
        MinOp, MaxOp, LengthOp, GranOp, Op);
355
 
355
 
356
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
356
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
357
                            OptionIndex + StringLength;
357
                            OptionIndex + StringLength;
Line 581... Line 581...
581
 
581
 
Line 582... Line 582...
582
    /* Validate the Min/Max/Len/Gran values */
582
    /* Validate the Min/Max/Len/Gran values */
Line 583... Line 583...
583
 
583
 
584
    RsLargeAddressCheck (
584
    RsLargeAddressCheck (
585
        Descriptor->Address32.Minimum,
585
        (UINT64) Descriptor->Address32.Minimum,
586
        Descriptor->Address32.Maximum,
586
        (UINT64) Descriptor->Address32.Maximum,
587
        Descriptor->Address32.AddressLength,
587
        (UINT64) Descriptor->Address32.AddressLength,
588
        Descriptor->Address32.Granularity,
588
        (UINT64) Descriptor->Address32.Granularity,
589
        Descriptor->Address32.Flags,
589
        Descriptor->Address32.Flags,
Line 590... Line 590...
590
        MinOp, MaxOp, LengthOp, GranOp);
590
        MinOp, MaxOp, LengthOp, GranOp, Op);
591
 
591
 
592
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
592
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
593
                            OptionIndex + StringLength;
593
                            OptionIndex + StringLength;
Line 799... Line 799...
799
 
799
 
Line 800... Line 800...
800
    /* Validate the Min/Max/Len/Gran values */
800
    /* Validate the Min/Max/Len/Gran values */
Line 801... Line 801...
801
 
801
 
802
    RsLargeAddressCheck (
802
    RsLargeAddressCheck (
803
        Descriptor->Address32.Minimum,
803
        (UINT64) Descriptor->Address32.Minimum,
804
        Descriptor->Address32.Maximum,
804
        (UINT64) Descriptor->Address32.Maximum,
805
        Descriptor->Address32.AddressLength,
805
        (UINT64) Descriptor->Address32.AddressLength,
806
        Descriptor->Address32.Granularity,
806
        (UINT64) Descriptor->Address32.Granularity,
807
        Descriptor->Address32.Flags,
807
        Descriptor->Address32.Flags,
Line 808... Line 808...
808
        MinOp, MaxOp, LengthOp, GranOp);
808
        MinOp, MaxOp, LengthOp, GranOp, Op);
809
 
809
 
810
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
810
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) +
811
                            OptionIndex + StringLength;
811
                            OptionIndex + StringLength;