Fix Stuff
This commit is contained in:
parent
27ad6caa3b
commit
e501391142
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye
|
FROM arm64v8/debian:bullseye
|
||||||
|
|
||||||
RUN dpkg --add-architecture armhf
|
RUN dpkg --add-architecture armhf
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Launch Minecraft
|
# Launch Minecraft
|
||||||
${DOCKER_COMPOSE} run --rm minecraft-pi
|
${DOCKER_COMPOSE} run --rm minecraft-pi
|
@ -7,7 +7,7 @@ virgl_test_server &
|
|||||||
VIRGL_PID="$!"
|
VIRGL_PID="$!"
|
||||||
|
|
||||||
# Launch Minecraft
|
# Launch Minecraft
|
||||||
${DOCKER_COMPOSE} run --rm minecraft-pi || :
|
${DOCKER_COMPOSE} run --rm minecraft-pi || :
|
||||||
RET="$?"
|
RET="$?"
|
||||||
|
|
||||||
# Kill VirGL
|
# Kill VirGL
|
||||||
|
@ -69,7 +69,8 @@ void _patch(const char *file, int line, void *start, unsigned char patch[]) {
|
|||||||
PATCH_PRINTF(file, line, start, "result");
|
PATCH_PRINTF(file, line, start, "result");
|
||||||
|
|
||||||
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
|
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
|
||||||
__clear_cache(start, (void *) end);
|
|
||||||
|
__builtin___clear_cache(start, (void *) end);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _patch_address(const char *file, int line, void *start, void *target) {
|
void _patch_address(const char *file, int line, void *start, void *target) {
|
||||||
|
Loading…
Reference in New Issue
Block a user