aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2017-03-06 00:50:55 +0100
committerRobin Krahl <robin.krahl@ireas.org>2017-03-06 00:50:55 +0100
commitc3c4a57262ae9a2530598ae79b7c703d68da6abf (patch)
tree344f3b71281d6c9b7982963906bfe729d3c2daf4 /core
parent1f0ea8244fb80966280bd8ecee6a797130592d27 (diff)
downloadgarmos-c3c4a57262ae9a2530598ae79b7c703d68da6abf.tar.gz
garmos-c3c4a57262ae9a2530598ae79b7c703d68da6abf.tar.bz2
gdt: remove static annotation from gdt and gdtp
The static annotation for gdt and gdtp causes problems when registering the global and interrupt description table. It is now omitted.
Diffstat (limited to 'core')
-rw-r--r--core/gdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/gdt.c b/core/gdt.c
index 0085e2f..819262e 100644
--- a/core/gdt.c
+++ b/core/gdt.c
@@ -31,14 +31,14 @@ enum gdt_sgmts {
GDT_SGMT_COUNT
};
-static struct gdt_sgmt gdt[GDT_SGMT_COUNT];
+struct gdt_sgmt gdt[GDT_SGMT_COUNT];
struct gdtp {
uint16_t limit;
void *pointer;
} __attribute__((packed));
-static struct gdtp gdtp = {
+struct gdtp gdtp = {
.limit = GDT_SGMT_COUNT * sizeof(*gdt) - 1,
.pointer = gdt,
};