Commit 68cd523
committed
refactor(xen): allow extracting guest_base from
Currently, on xen the guest base in tracked in two different places.
GuestRegionMmap, defined in mmap.rs, and (almost) each of the
implemented of XenMmapTrait. As a first step for eliminating this
duplication, add getters so that the guest base stored in the
XenMmapTrait trait object stored in MmapXen can be extracted.
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>MmapXen
1 parent b03b103 commit 68cd523
1 file changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
514 | 515 | | |
515 | | - | |
| 516 | + | |
516 | 517 | | |
517 | 518 | | |
518 | 519 | | |
| |||
522 | 523 | | |
523 | 524 | | |
524 | 525 | | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
532 | 536 | | |
533 | 537 | | |
534 | 538 | | |
| |||
541 | 545 | | |
542 | 546 | | |
543 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
544 | 552 | | |
545 | 553 | | |
546 | 554 | | |
| |||
651 | 659 | | |
652 | 660 | | |
653 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
654 | 666 | | |
655 | 667 | | |
656 | 668 | | |
| |||
886 | 898 | | |
887 | 899 | | |
888 | 900 | | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
889 | 905 | | |
890 | 906 | | |
891 | 907 | | |
| |||
0 commit comments