diff options
-rw-r--r-- | com32/include/syslinux/movebits.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/com32/include/syslinux/movebits.h b/com32/include/syslinux/movebits.h index d5c903a0..d12fb584 100644 --- a/com32/include/syslinux/movebits.h +++ b/com32/include/syslinux/movebits.h @@ -44,6 +44,11 @@ struct syslinux_memmap { struct syslinux_memmap *next; }; +static inline bool valid_terminal_type(enum syslinux_memmap_types type) +{ + return (type == SMT_FREE) || (type == SMT_TERMINAL); +} + /* * moves is computed from "fraglist" and "memmap". Areas that are * to be zeroed should be marked as such in the memmap, not in the |