aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/virtio-ring.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-07-26 15:31:08 +0100
committerMichael Brown <mcb30@ipxe.org>2014-07-28 16:58:35 +0100
commitec30c856a80270578a90528ecffdaf4eaf148503 (patch)
tree91968794eeaba657fbbccfa3b5d30c753e5da080 /src/include/ipxe/virtio-ring.h
parent6153c09c41034250408f3596555fcaae715da46c (diff)
downloadipxe-ec30c856a80270578a90528ecffdaf4eaf148503.tar.gz
[ioapi] Centralise notion of PAGE_SIZE
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/virtio-ring.h')
-rw-r--r--src/include/ipxe/virtio-ring.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/ipxe/virtio-ring.h b/src/include/ipxe/virtio-ring.h
index 0afe8bab7..c687acab7 100644
--- a/src/include/ipxe/virtio-ring.h
+++ b/src/include/ipxe/virtio-ring.h
@@ -1,8 +1,5 @@
#ifndef _VIRTIO_RING_H_
# define _VIRTIO_RING_H_
-#define PAGE_SHIFT (12)
-#define PAGE_SIZE (1<<PAGE_SHIFT)
-#define PAGE_MASK (PAGE_SIZE-1)
/* Status byte for guest to report progress, and synchronize features. */
/* We have seen device and processed generic fields (VIRTIO_CONFIG_F_VIRTIO) */