aboutsummaryrefslogtreecommitdiff
path: root/src/stacks.c
AgeCommit message (Expand)AuthorFilesLines
2014-11-10Don't enable thread preemption during S3 resume vga option rom execution.Kevin O'Connor1-1/+1
2014-04-07Replace CONFIG_THREAD_OPTIONROMS with a runtime config setting.Kevin O'Connor1-5/+24
2014-01-29Add call32_params() helper function.Kevin O'Connor1-0/+27
2013-12-27Always perform thread cleanup on MainThread stack.Kevin O'Connor1-8/+8
2013-12-05Minor - move sgdt/lgdt macros from stacks.c to x86.h.Kevin O'Connor1-7/+0
2013-10-14Support call16() calls after entering 32bit mode from call32().Kevin O'Connor1-6/+14
2013-10-14Update _farcall16() to pass segment of callregs explicitly.Kevin O'Connor1-7/+6
2013-10-14Make __call16 use C calling convention and support two passed parameters.Kevin O'Connor1-19/+11
2013-10-14Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farcall16.Kevin O'Connor1-3/+20
2013-09-28Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.Kevin O'Connor1-2/+3
2013-09-18Move function definitions for output.c from util.h to new file output.h.Kevin O'Connor1-1/+2
2013-09-18Move malloc code from pmm.c to new files malloc.c and malloc.h.Kevin O'Connor1-0/+1
2013-09-18Move stacks.c definitions from util.h to new file stacks.h.Kevin O'Connor1-0/+1
2013-08-10Add config option to support memory allocations in 9-segment.Kevin O'Connor1-1/+2
2013-06-08Convert stacks.c to use standard list manipulation code.Kevin O'Connor1-17/+15
2013-06-08Introduce helper function have_threads() in stacks.c.Kevin O'Connor1-10/+12
2013-06-08Minor - relocate code in stacks.c to keep low-level thread code together.Kevin O'Connor1-52/+57
2013-02-18Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.Kevin O'Connor1-2/+2
2013-02-09No need to check both CONFIG_THREADS and CONFIG_THREAD_OPTIONROMS.Kevin O'Connor1-6/+4
2012-06-02Fix winxp boot regression introduced in ecdc655a.Kevin O'Connor1-1/+1
2012-05-30Run all hardware irq handlers on the extra stack.Kevin O'Connor1-2/+2
2012-05-28Automatically hop off the extra stack when far calling 16bit code.Kevin O'Connor1-4/+3
2012-05-28Make the extra stack re-entrant and "hop back" to check for irqs.Kevin O'Connor1-6/+52
2012-05-28Replace 32bit->16bit farcall system with regular calls.Kevin O'Connor1-59/+64
2012-05-28Move farcall16 code from util.c to stacks.c and reorg stacks.c.Kevin O'Connor1-97/+140
2012-05-28Rename call16 to farcall16.Kevin O'Connor1-2/+2
2012-05-28Rename wait_irq to yield_toirq.Kevin O'Connor1-1/+1
2012-05-20Add mechanism to declare variables as "low mem" and use for extra stack.Kevin O'Connor1-6/+9
2011-07-16Run option rom visible PMM code in 32bit mode instead of 16bit mode.Kevin O'Connor1-1/+1
2011-07-10Simplify POST entry code by moving reboot logic from post.c to resume.c.Kevin O'Connor1-5/+0
2010-12-05Require a "_cfuncXX_" symbol prefix for inter-mode c function references.Kevin O'Connor1-4/+2
2010-11-25Enhance call32() to pass a parameter to called function.Kevin O'Connor1-9/+9
2010-11-25Don't pass return address to transition(32,16,16big) on stack.Kevin O'Connor1-2/+2
2010-09-25Cleanup - it's no longer necessary to manually reset global variables.Kevin O'Connor1-11/+4
2010-09-15Separate out init code from the rest of the 32bit flat code.Kevin O'Connor1-2/+2
2010-05-23Allow wait_irq to be called in 32bit code.Kevin O'Connor1-10/+73
2010-05-01Further parallelize init when using CONFIG_THREAD_OPTIONROMS.Kevin O'Connor1-1/+3
2010-04-02Some improvements to optionrom preemption support.Kevin O'Connor1-7/+14
2010-03-20Force use of indirect function calls in inline assembler.Kevin O'Connor1-7/+6
2010-03-20Don't move EBDA while an optionrom is running (CONFIG_THREAD_OPTIONROMS).Kevin O'Connor1-0/+12
2010-02-28Introduce simple "mutex" locking code.Kevin O'Connor1-0/+20
2010-01-03Be sure to add "void" to all function prototypes that take no args.Kevin O'Connor1-10/+10
2009-12-26Introduce MODESEGMENT define; rename VISIBLE32 to VISIBLE32FLAT.Kevin O'Connor1-5/+5
2009-12-20Fix yield() so it works from boot code.Kevin O'Connor1-1/+4
2009-12-13Extract out new call32() function from check_preempt() code in stacks.c.Kevin O'Connor1-61/+72
2009-12-13Enhance experimental option rom "threading" - enable preemption.Kevin O'Connor1-13/+137
2009-12-10Move stack manipulation code from util.c to new file stacks.c.Kevin O'Connor1-0/+163