]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
drivers/ukintctlr/xpic: Add MAX_IRQ limits for xPIC
authorMichalis Pappas <michalis@unikraft.io>
Tue, 19 Sep 2023 14:37:51 +0000 (16:37 +0200)
committerRazvan Deaconescu <razvand@unikraft.io>
Fri, 20 Oct 2023 16:35:55 +0000 (19:35 +0300)
Notice: Picking individual commits in this PR will break the build.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1103

drivers/ukintctlr/xpic/include/uk/intctlr/limits.h [new file with mode: 0644]

diff --git a/drivers/ukintctlr/xpic/include/uk/intctlr/limits.h b/drivers/ukintctlr/xpic/include/uk/intctlr/limits.h
new file mode 100644 (file)
index 0000000..df4c9b9
--- /dev/null
@@ -0,0 +1,11 @@
+/* Copyright (c) 2023, Unikraft GmbH and The Unikraft Authors.
+ * Licensed under the BSD-3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ */
+
+#ifndef __UK_INTCTLR_XPIC_LIMITS_H__
+#define __UK_INTCTLR_XPIC_LIMITS_H__
+
+#define UK_INTCTLR_MAX_IRQ                             16
+
+#endif /* __UK_INTCTLR_XPIC_LIMITS_H__ */