diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-12 23:34:45 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-12 23:36:53 +0100 |
commit | c0835339d06716b133aa653847023742a967f188 (patch) | |
tree | 25f22e63175c7919c8de678f5a5f1513bed516c8 /src/config | |
parent | 658c6dba597402c82d9558448bd928cd4c202657 (diff) | |
download | ipxe-c0835339d06716b133aa653847023742a967f188.tar.gz |
[nap] Formalise the CPU sleeping API
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/defaults/pcbios.h | 1 | ||||
-rw-r--r-- | src/config/nap.h | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h index 4cf2d7e42..a670e7a67 100644 --- a/src/config/defaults/pcbios.h +++ b/src/config/defaults/pcbios.h @@ -11,5 +11,6 @@ #define PCIAPI_PCBIOS #define TIMER_PCBIOS #define CONSOLE_PCBIOS +#define NAP_PCBIOS #endif /* CONFIG_DEFAULTS_PCBIOS_H */ diff --git a/src/config/nap.h b/src/config/nap.h new file mode 100644 index 000000000..8648d925e --- /dev/null +++ b/src/config/nap.h @@ -0,0 +1,15 @@ +#ifndef CONFIG_NAP_H +#define CONFIG_NAP_H + +/** @file + * + * CPU sleeping + * + */ + +#include <config/defaults.h> + +//#undef NAP_PCBIOS +//#define NAP_NULL + +#endif /* CONFIG_NAP_H */ |