mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 17:21:49 +00:00
bda0f5bad8
This change improves and cleans up the tile console. - We enable HVC_IRQ support on tilegx, with the addition of a new Tilera hypervisor API for tilegx to allow a console IPI. If IPI support is not available we fall back to the previous polling mode. - We simplify the earlyprintk code to use CON_BOOT and eliminate some of the other supporting earlyprintk code. - A new tile_console_write() primitive is used to send output to the console and is factored out of the hvc_tile driver. This lets us support a "sim_console" boot argument to allow using simulator hooks to send output to the "console" as a slightly faster alternative to emulating the hardware more directly. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
61 lines
2.4 KiB
Plaintext
61 lines
2.4 KiB
Plaintext
/* Hypervisor call vector addresses; see <hv/hypervisor.h> */
|
|
hv_init = TEXT_OFFSET + 0x10020;
|
|
hv_install_context = TEXT_OFFSET + 0x10040;
|
|
hv_sysconf = TEXT_OFFSET + 0x10060;
|
|
hv_get_rtc = TEXT_OFFSET + 0x10080;
|
|
hv_set_rtc = TEXT_OFFSET + 0x100a0;
|
|
hv_flush_asid = TEXT_OFFSET + 0x100c0;
|
|
hv_flush_page = TEXT_OFFSET + 0x100e0;
|
|
hv_flush_pages = TEXT_OFFSET + 0x10100;
|
|
hv_restart = TEXT_OFFSET + 0x10120;
|
|
hv_halt = TEXT_OFFSET + 0x10140;
|
|
hv_power_off = TEXT_OFFSET + 0x10160;
|
|
hv_inquire_physical = TEXT_OFFSET + 0x10180;
|
|
hv_inquire_memory_controller = TEXT_OFFSET + 0x101a0;
|
|
hv_inquire_virtual = TEXT_OFFSET + 0x101c0;
|
|
hv_inquire_asid = TEXT_OFFSET + 0x101e0;
|
|
hv_nanosleep = TEXT_OFFSET + 0x10200;
|
|
hv_console_read_if_ready = TEXT_OFFSET + 0x10220;
|
|
hv_console_write = TEXT_OFFSET + 0x10240;
|
|
hv_downcall_dispatch = TEXT_OFFSET + 0x10260;
|
|
hv_inquire_topology = TEXT_OFFSET + 0x10280;
|
|
hv_fs_findfile = TEXT_OFFSET + 0x102a0;
|
|
hv_fs_fstat = TEXT_OFFSET + 0x102c0;
|
|
hv_fs_pread = TEXT_OFFSET + 0x102e0;
|
|
hv_physaddr_read64 = TEXT_OFFSET + 0x10300;
|
|
hv_physaddr_write64 = TEXT_OFFSET + 0x10320;
|
|
hv_get_command_line = TEXT_OFFSET + 0x10340;
|
|
hv_set_caching = TEXT_OFFSET + 0x10360;
|
|
hv_bzero_page = TEXT_OFFSET + 0x10380;
|
|
hv_register_message_state = TEXT_OFFSET + 0x103a0;
|
|
hv_send_message = TEXT_OFFSET + 0x103c0;
|
|
hv_receive_message = TEXT_OFFSET + 0x103e0;
|
|
hv_inquire_context = TEXT_OFFSET + 0x10400;
|
|
hv_start_all_tiles = TEXT_OFFSET + 0x10420;
|
|
hv_dev_open = TEXT_OFFSET + 0x10440;
|
|
hv_dev_close = TEXT_OFFSET + 0x10460;
|
|
hv_dev_pread = TEXT_OFFSET + 0x10480;
|
|
hv_dev_pwrite = TEXT_OFFSET + 0x104a0;
|
|
hv_dev_poll = TEXT_OFFSET + 0x104c0;
|
|
hv_dev_poll_cancel = TEXT_OFFSET + 0x104e0;
|
|
hv_dev_preada = TEXT_OFFSET + 0x10500;
|
|
hv_dev_pwritea = TEXT_OFFSET + 0x10520;
|
|
hv_flush_remote = TEXT_OFFSET + 0x10540;
|
|
hv_console_putc = TEXT_OFFSET + 0x10560;
|
|
hv_inquire_tiles = TEXT_OFFSET + 0x10580;
|
|
hv_confstr = TEXT_OFFSET + 0x105a0;
|
|
hv_reexec = TEXT_OFFSET + 0x105c0;
|
|
hv_set_command_line = TEXT_OFFSET + 0x105e0;
|
|
hv_clear_intr = TEXT_OFFSET + 0x10600;
|
|
hv_enable_intr = TEXT_OFFSET + 0x10620;
|
|
hv_disable_intr = TEXT_OFFSET + 0x10640;
|
|
hv_raise_intr = TEXT_OFFSET + 0x10660;
|
|
hv_trigger_ipi = TEXT_OFFSET + 0x10680;
|
|
hv_store_mapping = TEXT_OFFSET + 0x106a0;
|
|
hv_inquire_realpa = TEXT_OFFSET + 0x106c0;
|
|
hv_flush_all = TEXT_OFFSET + 0x106e0;
|
|
hv_get_ipi_pte = TEXT_OFFSET + 0x10700;
|
|
hv_set_pte_super_shift = TEXT_OFFSET + 0x10720;
|
|
hv_console_set_ipi = TEXT_OFFSET + 0x107e0;
|
|
hv_glue_internals = TEXT_OFFSET + 0x10800;
|