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:
parent
bec8a1859c
commit
4b34e7acb5
1 changed files with 4 additions and 7 deletions
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue