summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/pmapi.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-03-30 16:06:39 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-03-30 16:10:13 -0700
commitd6fb0861c55f062797c8706f484bd47ae0f94568 (patch)
tree058691551709427756f9d2469c1eaf47cd59917f /com32/include/syslinux/pmapi.h
parentb6e84b7f93c5b4a0cffd132f3c6dbf6bf58ba2b9 (diff)
downloadsyslinux-d6fb0861c55f062797c8706f484bd47ae0f94568.tar.gz
core: move idle handling into protected mode
Do the actual idling in protected mode. This both allows PM code a more efficient interface, but also handles bugs in HVM implementations which don't handle HLT in real mode. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/include/syslinux/pmapi.h')
-rw-r--r--com32/include/syslinux/pmapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/include/syslinux/pmapi.h b/com32/include/syslinux/pmapi.h
index 5631dcba..f583deae 100644
--- a/com32/include/syslinux/pmapi.h
+++ b/com32/include/syslinux/pmapi.h
@@ -62,6 +62,9 @@ struct com32_pmapi {
struct _DIR_ *(*opendir)(const char *);
struct dirent *(*readdir)(struct _DIR_ *);
int (*closedir)(struct _DIR_ *);
+
+ void (*idle)(void);
+ void (*reset_idle)(void);
};
#endif /* _SYSLINUX_PMAPI_H */