void
boot_cleanup();
+
+static inline bool
+free_memregion(struct boot_mmapent* mmapent)
+{
+ return !mmapent->type;
+}
+
+static inline bool
+reserved_memregion(struct boot_mmapent* mmapent)
+{
+ return !!(mmapent->type & BOOT_MMAP_RSVD);
+}
+
+static inline bool
+reclaimable_memregion(struct boot_mmapent* mmapent)
+{
+ return !!(mmapent->type & BOOT_MMAP_RCLM);
+}
+
#endif
#endif /* __LUNAIX_BOOT_GENERIC_H */