Gitiles
Code Review
Sign In
review.coreboot.org
/
seabios
/
ddbb6da35099f99edaad3ddad2a187591387925c
/
src
/
stacks.c
dee3c15
stacks: There is no need to disable NMI if it is already disabled
by Kevin O'Connor
· 5 years ago
8ebb33b
stacks: Don't update the A20 settings if they haven't changed
by Kevin O'Connor
· 5 years ago
5869a6b
stacks: Make sure to initialize Call16Data
by Kevin O'Connor
· 5 years ago
b4cca86
stacks: Use macro wrappers for call32() and stack_hop_back()
by Kevin O'Connor
· 7 years ago
62de31b
Always enable caching on transition32; backup/restore cr0 on call32
by Kevin O'Connor
· 7 years ago
4c599ef
Consolidate code16*() functions
by Kevin O'Connor
· 7 years ago
423542e
Use transition32_nmi_off from call32() and call16_back()
by Kevin O'Connor
· 7 years ago
63766c4
Unify call32_sloppy() and call32()
by Kevin O'Connor
· 7 years ago
46a346e
Unify inline assembler in variants of call16 functions
by Kevin O'Connor
· 7 years ago
4c568d8
Rename Call32Data to Call16Data
by Kevin O'Connor
· 7 years ago
25eb061
Unify smm/sloppy variants of call32_prep/post and call16_helper
by Kevin O'Connor
· 7 years ago
537dac2
minor - correct spelling error in comment
by Kevin O'Connor
· 7 years ago
bd5f6c7
Add minimal support for machines without hardware interrupts
by Kevin O'Connor
· 7 years ago
bc46ebe
rtc: Support disabling the RTC timer irq support
by Kevin O'Connor
· 7 years ago
2a91b34
Call cpu_relax() if yielding prior to interrupts being enabled
by Kevin O'Connor
· 7 years ago
ec52068
Move CanInterrupt check to check_irqs()
by Kevin O'Connor
· 7 years ago
8b9942f
Don't enable interrupts prior to IVT and PIC setup
by Kevin O'Connor
· 7 years ago
ed675ad
Eliminate FUNCFSEG - only force portions of inline asm to f-segment
by Kevin O'Connor
· 8 years ago
ff6d551
Use macros for .code16/32 mode switches in inline asm in stacks.c
by Kevin O'Connor
· 8 years ago
83c8276
Fix build issue on gcc34
by Kevin O'Connor
· 8 years ago
bfb7b58
Backup and restore a20 on call32_sloppy()
by Kevin O'Connor
· 8 years ago
55215cd
Implement call32 mechanism using SMIs.
by Kevin O'Connor
· 8 years ago
15721bf
Fully restore 16bit state during call16_sloppy()
by Kevin O'Connor
· 8 years ago
1188480
Break up call32() into call32() and call32_sloppy()
by Kevin O'Connor
· 8 years ago
2342129
Move call16() functions from romlayout.S to inline assembler in stacks.c
by Kevin O'Connor
· 8 years ago
9984b9d
Update reset() to use call16_back()
by Kevin O'Connor
· 8 years ago
79c3ab3
Simplify farcall16 code
by Kevin O'Connor
· 8 years ago
dcacfa0
Track when entering via call32() and use the same mode for stack_hop_back()
by Kevin O'Connor
· 8 years ago
8056825
Update stack_hop_back() to jump to 16bit mode if called in 32bit mode.
by Kevin O'Connor
· 8 years ago
fabc1b5
Add need_hop_back() call that determines if stack_hop_back is needed
by Kevin O'Connor
· 8 years ago
1389eee
Move stack hop code below call32/call16 code in stacks.c
by Kevin O'Connor
· 8 years ago
43197a2
Abstract reset call (and possible 16bit mode switch) into reset() function.
by Kevin O'Connor
· 8 years ago
dd7527c
Don't enable thread preemption during S3 resume vga option rom execution.
by Kevin O'Connor
· 8 years ago
d29ce62
Replace CONFIG_THREAD_OPTIONROMS with a runtime config setting.
by Kevin O'Connor
· 8 years ago
7f54bf7
Add call32_params() helper function.
by Kevin O'Connor
· 8 years ago
48367e2
Always perform thread cleanup on MainThread stack.
by Kevin O'Connor
· 9 years ago
0f0612e
Minor - move sgdt/lgdt macros from stacks.c to x86.h.
by Kevin O'Connor
· 9 years ago
7acaa3c
Support call16() calls after entering 32bit mode from call32().
by Kevin O'Connor
· 9 years ago
2d97756
Update _farcall16() to pass segment of callregs explicitly.
by Kevin O'Connor
· 9 years ago
9e75b08
Make __call16 use C calling convention and support two passed parameters.
by Kevin O'Connor
· 9 years ago
bfac2b5
Rearrange stack_hop_back() call in wait_irq, check_irqs, and _farcall16.
by Kevin O'Connor
· 9 years ago
8b7861c
Rename hw/cmos.h to hw/rtc.h and copy RTC code from clock.c to hw/rtc.c.
by Kevin O'Connor
· 9 years ago
2d2fa31
Move function definitions for output.c from util.h to new file output.h.
by Kevin O'Connor
· 9 years ago
9dea590
Move malloc code from pmm.c to new files malloc.c and malloc.h.
by Kevin O'Connor
· 9 years ago
3df600b
Move stacks.c definitions from util.h to new file stacks.h.
by Kevin O'Connor
· 9 years ago
2b0fb8c
Add config option to support memory allocations in 9-segment.
by Kevin O'Connor
· 9 years ago
0039a94
Convert stacks.c to use standard list manipulation code.
by Kevin O'Connor
· 9 years ago
2a8633f
Introduce helper function have_threads() in stacks.c.
by Kevin O'Connor
· 9 years ago
3cf301f
Minor - relocate code in stacks.c to keep low-level thread code together.
by Kevin O'Connor
· 9 years ago
89a2f96
Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.
by Kevin O'Connor
· 9 years ago
b5c7da6
No need to check both CONFIG_THREADS and CONFIG_THREAD_OPTIONROMS.
by Kevin O'Connor
· 9 years ago
1297e5d
Fix winxp boot regression introduced in ecdc655a.
by Kevin O'Connor
· 10 years ago
ecdc655
Run all hardware irq handlers on the extra stack.
by Kevin O'Connor
· 10 years ago
beeabd6
Automatically hop off the extra stack when far calling 16bit code.
by Kevin O'Connor
· 10 years ago
bf2e8c2
Make the extra stack re-entrant and "hop back" to check for irqs.
by Kevin O'Connor
· 10 years ago
2f898d5
Replace 32bit->16bit farcall system with regular calls.
by Kevin O'Connor
· 10 years ago
e77c705
Move farcall16 code from util.c to stacks.c and reorg stacks.c.
by Kevin O'Connor
· 10 years ago
c7ffbac
Rename call16 to farcall16.
by Kevin O'Connor
· 10 years ago
94c749c
Rename wait_irq to yield_toirq.
by Kevin O'Connor
· 10 years ago
46b8262
Add mechanism to declare variables as "low mem" and use for extra stack.
by Kevin O'Connor
· 10 years ago
533b628
Run option rom visible PMM code in 32bit mode instead of 16bit mode.
by Kevin O'Connor
· 11 years ago
87b533b
Simplify POST entry code by moving reboot logic from post.c to resume.c.
by Kevin O'Connor
· 11 years ago
f3fe3aa
Require a "_cfuncXX_" symbol prefix for inter-mode c function references.
by Kevin O'Connor
· 12 years ago
af9629b
Enhance call32() to pass a parameter to called function.
by Kevin O'Connor
· 12 years ago
4057f98
Don't pass return address to transition(32,16,16big) on stack.
by Kevin O'Connor
· 12 years ago
4d96edc
Cleanup - it's no longer necessary to manually reset global variables.
by Kevin O'Connor
· 12 years ago
d1b4f96
Separate out init code from the rest of the 32bit flat code.
by Kevin O'Connor
· 12 years ago
9c447c3
Allow wait_irq to be called in 32bit code.
by Kevin O'Connor
· 12 years ago
e438b0c
Further parallelize init when using CONFIG_THREAD_OPTIONROMS.
by Kevin O'Connor
· 12 years ago
a7eb8fc
Some improvements to optionrom preemption support.
by Kevin O'Connor
· 12 years ago
bca0736
Force use of indirect function calls in inline assembler.
by Kevin O'Connor
· 12 years ago
d7eb27e
Don't move EBDA while an optionrom is running (CONFIG_THREAD_OPTIONROMS).
by Kevin O'Connor
· 12 years ago
e908665
Introduce simple "mutex" locking code.
by Kevin O'Connor
· 12 years ago
1ca05b0
Be sure to add "void" to all function prototypes that take no args.
by Kevin O'Connor
· 12 years ago
52a300f
Introduce MODESEGMENT define; rename VISIBLE32 to VISIBLE32FLAT.
by Kevin O'Connor
· 13 years ago
fb214dc
Fix yield() so it works from boot code.
by Kevin O'Connor
· 13 years ago
a7fc5de
Extract out new call32() function from check_preempt() code in stacks.c.
by Kevin O'Connor
· 13 years ago
ad90159
Enhance experimental option rom "threading" - enable preemption.
by Kevin O'Connor
· 13 years ago
7cefbfa
Move stack manipulation code from util.c to new file stacks.c.
by Kevin O'Connor
· 13 years ago