mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-21 10:40:00 +00:00
修复Wine
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -69,4 +69,4 @@ def page_floor(addr: int) -> int:
|
||||
|
||||
|
||||
def page_ceil(addr: int) -> int:
|
||||
return (addr + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)`n
|
||||
return (addr + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)
|
||||
@@ -874,4 +874,4 @@ def resolve_elf_target(elf_arg: str, rootfs: Path) -> Tuple[Path, str]:
|
||||
host_path = _guest_to_host_for_resolve(rootfs, guest_path)
|
||||
if host_path is None:
|
||||
raise FileNotFoundError(f"ELF not found as host path or guest path: {elf_arg}")
|
||||
return host_path.resolve(), guest_path`n
|
||||
return host_path.resolve(), guest_path
|
||||
@@ -128,4 +128,4 @@ class SharedKernelState:
|
||||
if status is None:
|
||||
return 0, 0
|
||||
|
||||
return 1, int(status)`n
|
||||
return 1, int(status)
|
||||
Reference in New Issue
Block a user