WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] docs: Add description of BUILD_BUG_ON().

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] docs: Add description of BUILD_BUG_ON().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 06 Dec 2008 04:20:26 -0800
Delivery-date: Sat, 06 Dec 2008 04:22:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228408603 0
# Node ID 1b173394f815fe772797415c08ffb5360e4bb084
# Parent  a71c610cc9e6625ba2605225c7402031ffad70a5
docs: Add description of BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 docs/misc/xen-error-handling.txt |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r a71c610cc9e6 -r 1b173394f815 docs/misc/xen-error-handling.txt
--- a/docs/misc/xen-error-handling.txt  Thu Dec 04 14:12:08 2008 +0000
+++ b/docs/misc/xen-error-handling.txt  Thu Dec 04 16:36:43 2008 +0000
@@ -79,3 +79,10 @@ A possible approach to dealing with boot
 A possible approach to dealing with boot-time errors, rather than
 crashing the hypervisor. It's particularly appropriate when parsing
 non-critical BIOS tables and detecting extended hardware features.
+
+
+7. BUILD_BUG_ON()
+-----------------
+Useful for assertions which can be evaluated at compile time. For
+example, making explicit assumptions about size and alignment of C
+structures.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] docs: Add description of BUILD_BUG_ON()., Xen patchbot-unstable <=