1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

small fix and docs.

This commit is contained in:
Annika Wierichs 2017-11-02 16:45:46 +01:00
parent bec8a1859c
commit 4b34e7acb5

View file

@ -212,17 +212,14 @@ def generate_kernel_function(ret, function_name, params):
return function
def generate_uhyve_cases(function_name):
""" TODO
Generates a switch-case that catches a KVM exit IO for the given function in uhyve.
def generate_uhyve_cases(function_names):
""" Generates all switch-cases for uhyve's KVM exit IO.
Args:
ret: Return type as string.
function_name: Function name as string.
params: Parameters as list of strings.
function_names: All function names as a list of strings.
Returns:
Generated switch-case code as string.
Generated switch-cases as one single string.
"""
cases = ""