mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 04:58:51 +01:00
fe2b6d7706
Change-Id: Ib03a11f016cb937d748d2696a17158e17c86e317 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5522 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: David Karoly <karolyd577@gmail.com>
26 lines
475 B
C
26 lines
475 B
C
/*
|
|
* Copyright 2022 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef KERNEL_BOOT_TIMER_H
|
|
#define KERNEL_BOOT_TIMER_H
|
|
|
|
|
|
#include <boot/addr_range.h>
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
#define TIMER_KIND_ARMV7 "armv7"
|
|
#define TIMER_KIND_OMAP3 "omap3"
|
|
#define TIMER_KIND_PXA "pxa"
|
|
|
|
|
|
typedef struct {
|
|
char kind[32];
|
|
addr_range regs;
|
|
uint32_t interrupt;
|
|
} __attribute__((packed)) boot_timer_info;
|
|
|
|
|
|
#endif /* KERNEL_BOOT_TIMER_H */
|