We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbdb08b commit a413cc1Copy full SHA for a413cc1
src/x86/mptable.c
@@ -499,7 +499,10 @@ void mptable_setup(void)
499
x86_log_memory_load((uint32_t)MPTABLE_LOAD_BASE,
500
(uint32_t)MPTABLE_LOAD_BASE + sizeof(struct mptable),
501
"MPTABLE");
502
+#pragma GCC diagnostic push
503
+#pragma GCC diagnostic ignored "-Wstringop-overflow"
504
memcpy(_mp, (void*)&_mptable, sizeof(struct mptable));
505
+#pragma GCC diagnostic pop
506
apic_id = mmio_read32(LOCAL_APIC_ID);
507
apic_ver = mmio_read32(LOCAL_APIC_VER);
508
0 commit comments