Chris Metcalf | 9ae0983 | 2013-08-07 16:03:08 -0400 | [diff] [blame] | 1 | /* Hypervisor call vector addresses; see <hv/hypervisor.h> */ |
| 2 | .macro gensym sym, val, size |
| 3 | .org \val |
| 4 | .global _\sym |
| 5 | .type _\sym,function |
| 6 | _\sym: |
| 7 | .size _\sym,\size |
| 8 | #ifndef CONFIG_TILE_HVGLUE_TRACE |
| 9 | .globl \sym |
| 10 | .set \sym,_\sym |
| 11 | #endif |
| 12 | .endm |
| 13 | |
| 14 | .section .hvglue,"x",@nobits |
| 15 | .align 8 |
| 16 | gensym hv_init, 0x20, 32 |
| 17 | gensym hv_install_context, 0x40, 32 |
| 18 | gensym hv_sysconf, 0x60, 32 |
| 19 | gensym hv_get_rtc, 0x80, 32 |
| 20 | gensym hv_set_rtc, 0xa0, 32 |
| 21 | gensym hv_flush_asid, 0xc0, 32 |
| 22 | gensym hv_flush_page, 0xe0, 32 |
| 23 | gensym hv_flush_pages, 0x100, 32 |
| 24 | gensym hv_restart, 0x120, 32 |
| 25 | gensym hv_halt, 0x140, 32 |
| 26 | gensym hv_power_off, 0x160, 32 |
| 27 | gensym hv_inquire_physical, 0x180, 32 |
| 28 | gensym hv_inquire_memory_controller, 0x1a0, 32 |
| 29 | gensym hv_inquire_virtual, 0x1c0, 32 |
| 30 | gensym hv_inquire_asid, 0x1e0, 32 |
| 31 | gensym hv_nanosleep, 0x200, 32 |
| 32 | gensym hv_console_read_if_ready, 0x220, 32 |
| 33 | gensym hv_console_write, 0x240, 32 |
| 34 | gensym hv_downcall_dispatch, 0x260, 32 |
| 35 | gensym hv_inquire_topology, 0x280, 32 |
| 36 | gensym hv_fs_findfile, 0x2a0, 32 |
| 37 | gensym hv_fs_fstat, 0x2c0, 32 |
| 38 | gensym hv_fs_pread, 0x2e0, 32 |
| 39 | gensym hv_physaddr_read64, 0x300, 32 |
| 40 | gensym hv_physaddr_write64, 0x320, 32 |
| 41 | gensym hv_get_command_line, 0x340, 32 |
| 42 | gensym hv_set_caching, 0x360, 32 |
| 43 | gensym hv_bzero_page, 0x380, 32 |
| 44 | gensym hv_register_message_state, 0x3a0, 32 |
| 45 | gensym hv_send_message, 0x3c0, 32 |
| 46 | gensym hv_receive_message, 0x3e0, 32 |
| 47 | gensym hv_inquire_context, 0x400, 32 |
| 48 | gensym hv_start_all_tiles, 0x420, 32 |
| 49 | gensym hv_dev_open, 0x440, 32 |
| 50 | gensym hv_dev_close, 0x460, 32 |
| 51 | gensym hv_dev_pread, 0x480, 32 |
| 52 | gensym hv_dev_pwrite, 0x4a0, 32 |
| 53 | gensym hv_dev_poll, 0x4c0, 32 |
| 54 | gensym hv_dev_poll_cancel, 0x4e0, 32 |
| 55 | gensym hv_dev_preada, 0x500, 32 |
| 56 | gensym hv_dev_pwritea, 0x520, 32 |
| 57 | gensym hv_flush_remote, 0x540, 32 |
| 58 | gensym hv_console_putc, 0x560, 32 |
| 59 | gensym hv_inquire_tiles, 0x580, 32 |
| 60 | gensym hv_confstr, 0x5a0, 32 |
| 61 | gensym hv_reexec, 0x5c0, 32 |
| 62 | gensym hv_set_command_line, 0x5e0, 32 |
| 63 | gensym hv_clear_intr, 0x600, 32 |
| 64 | gensym hv_enable_intr, 0x620, 32 |
| 65 | gensym hv_disable_intr, 0x640, 32 |
| 66 | gensym hv_raise_intr, 0x660, 32 |
| 67 | gensym hv_trigger_ipi, 0x680, 32 |
| 68 | gensym hv_store_mapping, 0x6a0, 32 |
| 69 | gensym hv_inquire_realpa, 0x6c0, 32 |
| 70 | gensym hv_flush_all, 0x6e0, 32 |
| 71 | gensym hv_get_ipi_pte, 0x700, 32 |
| 72 | gensym hv_set_pte_super_shift, 0x720, 32 |
| 73 | gensym hv_console_set_ipi, 0x7e0, 32 |
Chris Metcalf | e5701b7 | 2015-05-04 17:26:35 -0400 | [diff] [blame] | 74 | gensym hv_send_nmi, 0x820, 32 |
| 75 | gensym hv_glue_internals, 0x820, 30688 |