Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2101 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2089
Line 34... Line 34...
34
 
34
 
35
#ifndef KERN_ia32_SMP_H_
35
#ifndef KERN_ia32_SMP_H_
36
#define KERN_ia32_SMP_H_
36
#define KERN_ia32_SMP_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <typedefs.h>
-
 
40
 
39
 
41
/** SMP config opertaions interface. */
40
/** SMP config opertaions interface. */
42
struct smp_config_operations {
41
struct smp_config_operations {
43
    count_t (* cpu_count)(void);        /**< Return number of detected processors. */
42
    count_t (* cpu_count)(void);        /**< Return number of detected processors. */
44
    bool (* cpu_enabled)(index_t i);    /**< Check whether the processor of index i is enabled. */
43
    bool (* cpu_enabled)(index_t i);    /**< Check whether the processor of index i is enabled. */