cda13c638d
Untested so far. Change-Id: I3453115599cf2112858a194173212401ae4ac1b7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5104 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: David Karoly <karolyd577@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
28 lines
579 B
C
28 lines
579 B
C
/*
|
|
* Copyright 2021 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef KERNEL_BOOT_INTERRUPT_CONTROLLER_H
|
|
#define KERNEL_BOOT_INTERRUPT_CONTROLLER_H
|
|
|
|
|
|
#include <boot/addr_range.h>
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
#define INTC_KIND_GICV1 "gicv1"
|
|
#define INTC_KIND_GICV2 "gicv2"
|
|
#define INTC_KIND_OMAP3 "omap3"
|
|
#define INTC_KIND_PXA "pxa"
|
|
#define INTC_KIND_SUN4I "sun4i"
|
|
|
|
|
|
typedef struct {
|
|
char kind[32];
|
|
addr_range regs1;
|
|
addr_range regs2;
|
|
} __attribute__((packed)) intc_info;
|
|
|
|
|
|
#endif /* KERNEL_BOOT_INTERRUPT_CONTROLLER_H */
|