aboutsummaryrefslogtreecommitdiff
path: root/src/stacks.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-09-15 21:38:16 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-09-15 21:38:16 -0400
commitd1b4f967ea1abee81d468088793235744442017c (patch)
tree75bde04d7810c8299b6102d9346c748fb612b709 /src/stacks.c
parent1a4885e72a80bba3dd245381aa62ad728ba63774 (diff)
downloadseabios-hppa-d1b4f967ea1abee81d468088793235744442017c.zip
seabios-hppa-d1b4f967ea1abee81d468088793235744442017c.tar.gz
seabios-hppa-d1b4f967ea1abee81d468088793235744442017c.tar.bz2
Separate out init code from the rest of the 32bit flat code.
Enhance tools/layoutrom.py code so that it can detect which sections are used from the "32bit flat" runtime code. All other "32bit flat" sections can then be assured to be initialization code only. This is in preparation for relocating the 32bit initialization code.
Diffstat (limited to 'src/stacks.c')
-rw-r--r--src/stacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stacks.c b/src/stacks.c
index f5feeeb..dade3af 100644
--- a/src/stacks.c
+++ b/src/stacks.c
@@ -1,6 +1,6 @@
// Code for manipulating stack locations.
//
-// Copyright (C) 2009 Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2009-2010 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
@@ -383,7 +383,7 @@ wait_preempt(void)
extern void yield_preempt(void);
#if MODESEGMENT == 0
// Try to execute 32bit threads.
-void VISIBLE32FLAT
+void VISIBLE32INIT
yield_preempt(void)
{
PreemptCount++;