X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_queue.h;h=e88329f563ad83ce8de6df733f98e2afda123e3a;hp=f66d06c6b4fcff33146f74a6b997bcf97d278599;hb=68521eca0f94f8c22aa60e762c83e24beec7233c;hpb=56f8088296ee4116a4811a2f4f843edd80a7748d diff --git a/palacios/include/palacios/vmm_queue.h b/palacios/include/palacios/vmm_queue.h index f66d06c..e88329f 100644 --- a/palacios/include/palacios/vmm_queue.h +++ b/palacios/include/palacios/vmm_queue.h @@ -1,5 +1,22 @@ -/* (c) 2008, Jack Lange */ -/* (c) 2008, The V3VEE Project */ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2008, Jack Lange + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Jack Lange + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ + #ifndef __VMM_QUEUE_H__ #define __VMM_QUEUE_H__ @@ -8,7 +25,7 @@ #include #include - +#include /* IMPORTANT: @@ -18,17 +35,15 @@ struct queue_entry { - addr_t entry; - struct list_head entry_list; + addr_t entry; + struct list_head entry_list; }; struct gen_queue { - uint_t num_entries; - struct list_head entries; - - // We really need to implement this.... - // void * lock; + uint_t num_entries; + struct list_head entries; + v3_lock_t lock; };