aboutsummaryrefslogtreecommitdiff
path: root/code16.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24clear CF on entry to BIOS handlersPaolo Bonzini1-3/+0
This simplifies the success case, which never has to manipulate the carry flag. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-07-24remove incorrect flat_to_off16Paolo Bonzini1-1/+1
Here we use offsetof so "start" is not a flat pointer, it is a pointer inside the e820 segment. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-05-21add mallocPaolo Bonzini1-7/+16
Allocate the e820 map in the E-segment. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-05-21put 16-bit code in a single filePaolo Bonzini1-0/+116
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>