mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
bsd-user: Implement target_to_host_resource conversion function
Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-7-kariem.taha2.7@gmail.com>
This commit is contained in:
parent
00bff01fc0
commit
0caa376878
3 changed files with 50 additions and 0 deletions
|
@ -7,6 +7,7 @@ bsd_user_ss = ss.source_set()
|
|||
common_user_inc += include_directories('include')
|
||||
|
||||
bsd_user_ss.add(files(
|
||||
'bsd-proc.c',
|
||||
'bsdload.c',
|
||||
'elfload.c',
|
||||
'main.c',
|
||||
|
@ -16,6 +17,11 @@ bsd_user_ss.add(files(
|
|||
'uaccess.c',
|
||||
))
|
||||
|
||||
elf = cc.find_library('elf', required: true)
|
||||
procstat = cc.find_library('procstat', required: true)
|
||||
kvm = cc.find_library('kvm', required: true)
|
||||
bsd_user_ss.add(elf, procstat, kvm)
|
||||
|
||||
# Pull in the OS-specific build glue, if any
|
||||
subdir(targetos)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue