BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / b9a1b73816b93781911016a677d4b1bed5b8dcc9 / include / nucleus / cpu.h

// Related

Nucleus

Barry Global Descriptor Tables b9a1b73 (3 years, 3 months ago)
diff --git a/include/nucleus/cpu.h b/include/nucleus/cpu.h
new file mode 100644
index 0000000..9192ea8
--- /dev/null
+++ b/include/nucleus/cpu.h
@@ -0,0 +1,12 @@
+#ifndef _NUCLEUS_CPU_H
+#define _NUCLEUS_CPU_H
+
+/* Structure for an Interrupt Frame */
+struct InterruptFrame {
+	uint32_t eip, cs, eflags;
+};
+
+#define CPUID 0
+#define MAX_CPUS 1
+
+#endif