Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 4343 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup arm32 |
29 | /** @addtogroup arm32 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | * @brief Empty. |
33 | * @brief Empty. |
34 | */ |
34 | */ |
35 | 35 | ||
36 | #ifndef KERN_arm32_ARCH_H_ |
36 | #ifndef KERN_arm32_ARCH_H_ |
37 | #define KERN_arm32_ARCH_H_ |
37 | #define KERN_arm32_ARCH_H_ |
38 | 38 | ||
- | 39 | #define TASKMAP_MAX_RECORDS 32 |
|
- | 40 | #define CPUMAP_MAX_RECORDS 32 |
|
- | 41 | ||
- | 42 | #include <typedefs.h> |
|
- | 43 | ||
- | 44 | typedef struct { |
|
- | 45 | uintptr_t addr; |
|
- | 46 | uint32_t size; |
|
- | 47 | } utask_t; |
|
- | 48 | ||
- | 49 | typedef struct { |
|
- | 50 | uint32_t cnt; |
|
- | 51 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
|
- | 52 | } bootinfo_t; |
|
- | 53 | ||
- | 54 | extern void arch_pre_main(void *entry, bootinfo_t *bootinfo); |
|
- | 55 | ||
39 | #endif |
56 | #endif |
40 | 57 | ||
41 | /** @} |
58 | /** @} |
42 | */ |
59 | */ |