base.hh (11931:d75332c38b45) base.hh (12114:e07448797f55)
1/*
1/*
2 * Copyright (c) 2014, 2016 ARM Limited
2 * Copyright (c) 2014, 2016-2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

--- 417 unchanged lines hidden (view full) ---

428 void dump() const;
429 /** @} */
430
431 /** @{ */
432 /**
433 * Page size used by VirtIO.\ It's hard-coded to 4096 bytes in
434 * the spec for historical reasons.
435 */
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

--- 417 unchanged lines hidden (view full) ---

428 void dump() const;
429 /** @} */
430
431 /** @{ */
432 /**
433 * Page size used by VirtIO.\ It's hard-coded to 4096 bytes in
434 * the spec for historical reasons.
435 */
436 static const unsigned ALIGN_BITS = 12;
437 static const unsigned ALIGN_SIZE = 1 << ALIGN_BITS;
436 static const Addr ALIGN_BITS = 12;
437 static const Addr ALIGN_SIZE = 1 << ALIGN_BITS;
438 /** @} */
439
440 protected:
441 /**
442 * Instantiate a new virtqueue.
443 *
444 * Instantiate a virtqueue with a fixed size. The size is
445 * specified in descriptors which are defined as 4096 bytes each.

--- 445 unchanged lines hidden ---
438 /** @} */
439
440 protected:
441 /**
442 * Instantiate a new virtqueue.
443 *
444 * Instantiate a virtqueue with a fixed size. The size is
445 * specified in descriptors which are defined as 4096 bytes each.

--- 445 unchanged lines hidden ---