aboutsummaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 02:05:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-03 02:05:57 +0100
commita6a6afc285f8f4a1aadc8857ac980b62010ce004 (patch)
tree56cc650be6577b1590dbeb0854a33dc557825ee5 /parser.y
parentc40604042bd6e9f80e4f5fe6bc9deefb29c4b94a (diff)
downloadmig-a6a6afc285f8f4a1aadc8857ac980b62010ce004.tar.gz
mig-a6a6afc285f8f4a1aadc8857ac980b62010ce004.tar.bz2
mig-a6a6afc285f8f4a1aadc8857ac980b62010ce004.zip
Revert "x86_64: adapt MiG generated stubs to use mach_port_name_inlined_t for inlined port rights."
This reverts commit c40604042bd6e9f80e4f5fe6bc9deefb29c4b94a.
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/parser.y b/parser.y
index 5a73af8..cac3379 100644
--- a/parser.y
+++ b/parser.y
@@ -210,6 +210,10 @@ Subsystem : SubsystemStart SubsystemMods
IsKernelUser ? ", KernelUser" : "",
IsKernelServer ? ", KernelServer" : "");
}
+ if (IsKernelUser || IsKernelServer) {
+ port_size = vm_offset_size;
+ port_size_in_bits = vm_offset_size_in_bits;
+ }
init_type();
}
;