aboutsummaryrefslogtreecommitdiff
path: root/src/stacks.c
AgeCommit message (Expand)AuthorFilesLines
2014-10-15Backup and restore a20 on call32_sloppy()Kevin O'Connor1-0/+7
2014-10-15Implement call32 mechanism using SMIs.Kevin O'Connor1-0/+138
2014-10-11Fully restore 16bit state during call16_sloppy()Kevin O'Connor1-30/+63
2014-10-11Break up call32() into call32() and call32_sloppy()Kevin O'Connor1-39/+47
2014-10-11Move call16() functions from romlayout.S to inline assembler in stacks.cKevin O'Connor1-12/+69
2014-10-11Update reset() to use call16_back()Kevin O'Connor1-2/+2
2014-10-11Simplify farcall16 codeKevin O'Connor1-14/+12
2014-10-11Track when entering via call32() and use the same mode for stack_hop_back()Kevin O'Connor1-1/+28
2014-09-30Update stack_hop_back() to jump to 16bit mode if called in 32bit mode.Kevin O'Connor1-18/+13
2014-09-30Add need_hop_back() call that determines if stack_hop_back is neededKevin O'Connor1-4/+4
2014-09-30Move stack hop code below call32/call16 code in stacks.cKevin O'Connor1-82/+82
2014-06-06Abstract reset call (and possible 16bit mode switch) into reset() function.Kevin O'Connor1-0/+10
2014-06-04Don'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