Index: generic/include/cpu.h
===================================================================
--- generic/include/cpu.h	(revision a59e81e7504cf966a20f750789032f23926fdab3)
+++ generic/include/cpu.h	(revision 2fe2046cc5e3134e4ec1ab2647695b3037005e71)
@@ -42,6 +42,11 @@
 #define CPU_STACK_SIZE	STACK_SIZE
 
+/** CPU structure.
+ *
+ * There is one structure like this for every processor.
+ */
 struct cpu {
 	SPINLOCK_DECLARE(lock);
+
 	context_t saved_context;
 
@@ -58,5 +63,9 @@
 	#endif /* CONFIG_SMP */
 
+	/**
+	 * Processor ID assigned by kernel.
+	 */
 	int id;
+	
 	int active;
 	int tlb_active;
@@ -69,4 +78,7 @@
 	thread_t *fpu_owner;
 	
+	/**
+	 * Stack used by scheduler when there is no running thread.
+	 */
 	__u8 *stack;
 };
