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 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 336... Line 336...
336
 
336
 
Line 337... Line 337...
337
    /* Validate the Min/Max/Len/Gran values */
337
    /* Validate the Min/Max/Len/Gran values */
Line 338... Line 338...
338
 
338
 
339
    RsLargeAddressCheck (
339
    RsLargeAddressCheck (
340
        Descriptor->Address16.Minimum,
340
        (UINT64) Descriptor->Address16.Minimum,
341
        Descriptor->Address16.Maximum,
341
        (UINT64) Descriptor->Address16.Maximum,
342
        Descriptor->Address16.AddressLength,
342
        (UINT64) Descriptor->Address16.AddressLength,
343
        Descriptor->Address16.Granularity,
343
        (UINT64) Descriptor->Address16.Granularity,
344
        Descriptor->Address16.Flags,
344
        Descriptor->Address16.Flags,
Line 345... Line 345...
345
        MinOp, MaxOp, LengthOp, GranOp);
345
        MinOp, MaxOp, LengthOp, GranOp, Op);
346
 
346
 
347
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
347
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
348
                            OptionIndex + StringLength;
348
                            OptionIndex + StringLength;
Line 542... Line 542...
542
 
542
 
Line 543... Line 543...
543
    /* Validate the Min/Max/Len/Gran values */
543
    /* Validate the Min/Max/Len/Gran values */
Line 544... Line 544...
544
 
544
 
545
    RsLargeAddressCheck (
545
    RsLargeAddressCheck (
546
        Descriptor->Address16.Minimum,
546
        (UINT64) Descriptor->Address16.Minimum,
547
        Descriptor->Address16.Maximum,
547
        (UINT64) Descriptor->Address16.Maximum,
548
        Descriptor->Address16.AddressLength,
548
        (UINT64) Descriptor->Address16.AddressLength,
549
        Descriptor->Address16.Granularity,
549
        (UINT64) Descriptor->Address16.Granularity,
550
        Descriptor->Address16.Flags,
550
        Descriptor->Address16.Flags,
Line 551... Line 551...
551
        MinOp, MaxOp, LengthOp, GranOp);
551
        MinOp, MaxOp, LengthOp, GranOp, Op);
552
 
552
 
553
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
553
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
554
                            OptionIndex + StringLength;
554
                            OptionIndex + StringLength;
Line 759... Line 759...
759
 
759
 
Line 760... Line 760...
760
    /* Validate the Min/Max/Len/Gran values */
760
    /* Validate the Min/Max/Len/Gran values */
Line 761... Line 761...
761
 
761
 
762
    RsLargeAddressCheck (
762
    RsLargeAddressCheck (
763
        Descriptor->Address16.Minimum,
763
        (UINT64) Descriptor->Address16.Minimum,
764
        Descriptor->Address16.Maximum,
764
        (UINT64) Descriptor->Address16.Maximum,
765
        Descriptor->Address16.AddressLength,
765
        (UINT64) Descriptor->Address16.AddressLength,
766
        Descriptor->Address16.Granularity,
766
        (UINT64) Descriptor->Address16.Granularity,
767
        Descriptor->Address16.Flags,
767
        Descriptor->Address16.Flags,
Line 768... Line 768...
768
        MinOp, MaxOp, LengthOp, GranOp);
768
        MinOp, MaxOp, LengthOp, GranOp, Op);
769
 
769
 
770
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
770
    Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) +
771
                            OptionIndex + StringLength;
771
                            OptionIndex + StringLength;