1
6
7
8
9
10
11
12
13
14
15
16
17
26
27
28
34
35
36
37
/* ... */
#pragma once
#include <stdbool.h>
#include <stdint.h>
#include <assert.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
static inline bool bootloader_util_regions_overlap(
const intptr_t start1, const intptr_t end1,
const intptr_t start2, const intptr_t end2)
{
assert(end1 > start1);
assert(end2 > start2);
return (end1 > start2 && end2 > start1);
}{ ... }
#ifdef __cplusplus
}{...}
#endif