-/* Authors: Arnaud Legrand */
+/* $Id$ */
+
+/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
- under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#include "cpu_private.h"
#include "xbt/dict.h"
static e_surf_cpu_state_t get_state(void *cpu)
{
- return SURF_CPU_OFF;
+ return ((cpu_t) cpu)->state_current;
}
static void finalize(void)