-
Notifications
You must be signed in to change notification settings - Fork 1
Known bugs
Stefan edited this page Jun 10, 2013
·
13 revisions
- lg_cpu.regs became a pointer (as in x86_32 version)
- We have made an allocation without dealocating memory
- In arch/x86_64/kernel/asm_offsets_64.c we need to reconsider a few symbols like LG_CPU_regs or LG_CPU_regs_rax
- lg->cpus[] is no longer an array of pointers.
- We don't allocate memory any more, but we have to eliminate the part where the memory was released because we'll get a free error
- Regs variable is moved to lg_cpu
- When RedHat wrote the switcher, regs variable was declared in lg_cpu_data structure. Afterwards it was moved to lg_cpu. This means we need to take care in switcher ASM code about a few variables:
- LG_CPU_regs
- LG_CPU_regs_rsp
- LG_CPU_regs_rax
- LG_CPU_regs_rdx
- LG_CPU_regs_rcx
- LG_CPU_trapnum
- LG_CPU_errcode
- When RedHat wrote the switcher, regs variable was declared in lg_cpu_data structure. Afterwards it was moved to lg_cpu. This means we need to take care in switcher ASM code about a few variables: