aboutsummaryrefslogtreecommitdiff
path: root/src/stacks.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-09stacks: call check_irqs() after switch_next()Volker RĂ¼melin1-3/+2
2021-06-09stacks: call check_irqs() in run_thread()Volker RĂ¼melin1-1/+7
2017-06-12stacks: There is no need to disable NMI if it is already disabledKevin O'Connor1-4/+9
2017-05-16stacks: Don't update the A20 settings if they haven't changedKevin O'Connor1-1/+3
2017-05-16stacks: Make sure to initialize Call16DataKevin O'Connor1-0/+1
2015-10-15stacks: Use macro wrappers for call32() and stack_hop_back()Kevin O'Connor1-15/+10
2015-10-09Always enable caching on transition32; backup/restore cr0 on call32Kevin O'Connor1-17/+28
2015-10-09Consolidate code16*() functionsKevin O'Connor1-34/+27
2015-09-14Use transition32_nmi_off from call32() and call16_back()Kevin O'Connor1-2/+2
2015-09-14Unify call32_sloppy() and call32()Kevin O'Connor1-18/+12
2015-09-14Unify inline assembler in variants of call16 functionsKevin O'Connor1-68/+34
2015-09-14Rename Call32Data to Call16DataKevin O'Connor1-29/+29
2015-09-14Unify smm/sloppy variants of call32_prep/post and call16_helperKevin O'Connor1-82/+50
2015-09-03minor - correct spelling error in commentKevin O'Connor1-1/+1
2015-08-24Add minimal support for machines without hardware interruptsKevin O'Connor1-1/+4
2015-08-17rtc: Support disabling the RTC timer irq supportKevin O'Connor1-1/+1
2015-08-17Call cpu_relax() if yielding prior to interrupts being enabledKevin O'Connor1-1/+3
2015-08-17Move CanInterrupt check to check_irqs()Kevin O'Connor1-7/+8
2015-07-14Don't enable interrupts prior to IVT and PIC setupKevin O'Connor1-5/+8
2014-12-03Eliminate FUNCFSEG - only force portions of inline asm to f-segmentKevin O'Connor1-6/+6
2014-12-03Use macros for .code16/32 mode switches in inline asm in stacks.cKevin O'Connor1-12/+17
2014-11-12Fix build issue on gcc34Kevin O'Connor1-1/+1
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