1 |
/* |
/* |
2 |
* Copyright (C) 2004-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2004-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: useremul.c,v 1.72 2006/09/30 05:57:07 debug Exp $ |
* $Id: useremul.c,v 1.74 2007/02/10 14:04:51 debug Exp $ |
29 |
* |
* |
30 |
* Userland (syscall) emulation. |
* Userland (syscall) emulation. |
31 |
* |
* |
256 |
debug("useremul__netbsd_setup(): SH: TODO\n"); |
debug("useremul__netbsd_setup(): SH: TODO\n"); |
257 |
break; |
break; |
258 |
|
|
|
case ARCH_X86: |
|
|
debug("useremul__netbsd_setup(): X86: TODO\n"); |
|
|
|
|
|
break; |
|
|
|
|
259 |
default: |
default: |
260 |
fatal("useremul__netbsd_setup(): unimplemented arch\n"); |
fatal("useremul__netbsd_setup(): unimplemented arch\n"); |
261 |
exit(1); |
exit(1); |
1769 |
add_useremul("NetBSD/arm", ARCH_ARM, "SA1110", |
add_useremul("NetBSD/arm", ARCH_ARM, "SA1110", |
1770 |
useremul__netbsd, useremul__netbsd_setup); |
useremul__netbsd, useremul__netbsd_setup); |
1771 |
|
|
|
add_useremul("NetBSD/amd64", ARCH_X86, "AMD64", |
|
|
useremul__netbsd, useremul__netbsd_setup); |
|
|
|
|
1772 |
add_useremul("NetBSD/alpha", ARCH_ALPHA, "Alpha", |
add_useremul("NetBSD/alpha", ARCH_ALPHA, "Alpha", |
1773 |
useremul__netbsd, useremul__netbsd_setup); |
useremul__netbsd, useremul__netbsd_setup); |
1774 |
|
|