# These are the arch-dependent exports. These are the things which ought to
# be available but whose interfaces aren't arch-independent.
#
# You can comment out things you don't really want to export here, but be
# aware that if you try to load someone else's module later, they might
# be needing something in here.

include kos.h
include dc/sound/sound.h

# ASIC
asic_evt_set_handler
asic_evt_disable_all
asic_evt_disable
asic_evt_enable

# G1 Bus
g1_dma_in_progress
g1_ata_mutex_lock
g1_ata_mutex_unlock
g1_ata_select_device
g1_ata_read_chs
g1_ata_write_chs
g1_ata_read_lba
g1_ata_read_lba_dma
g1_ata_write_lba
g1_ata_write_lba_dma
g1_ata_flush
g1_ata_lba_mode
g1_ata_blockdev_for_partition
g1_ata_blockdev_for_device
g1_ata_init
g1_ata_shutdown

# G2 Bus
g2_read_8
g2_write_8
g2_read_16
g2_write_16
g2_read_32
g2_write_32
g2_read_block_8
g2_write_block_8
g2_read_block_16
g2_write_block_16
g2_read_block_32
g2_write_block_32
g2_fifo_wait

# VBlank
vblank_handler_add
vblank_handler_remove

# Debug I/O
scif_set_parameters
scif_set_irq_usage
scif_detected
scif_init
scif_shutdown
scif_read
scif_write
scif_flush
scif_write_buffer
scif_read_buffer

# Soft SPI
scif_spi_init
scif_spi_shutdown
scif_spi_set_cs
scif_spi_rw_byte
scif_spi_slow_rw_byte
scif_spi_write_byte
scif_spi_read_byte
scif_spi_read_data

# Timers
timer_prime
timer_start
timer_stop
timer_count
timer_clear
timer_enable_ints
timer_disable_ints
timer_ints_enabled

# Misc
arch_reboot
arch_menu
trapa_set_handler
vid_screen_shot
vid_screen_shot_data
vmu_pkg_build
vmu_pkg_parse

# Bios Font
bfont_set_foreground_color
bfont_set_background_color
bfont_set_encoding
bfont_find_char
bfont_find_char_jp
bfont_find_char_jp_half
bfont_find_icon
bfont_draw_ex
bfont_draw
bfont_draw_thin
bfont_draw_wide
bfont_draw_str_ex
bfont_draw_str_ex_fmt
bfont_draw_str_ex_vfmt
bfont_draw_str
bfont_draw_str_fmt
bfont_draw_str_vram_vfmt
bfont_draw_str_vram_fmt

# CD-Rom
cdrom_reinit
cdrom_read_toc
cdrom_read_sectors
cdrom_locate_data_track
cdrom_cdda_play
cdrom_cdda_pause
cdrom_cdda_resume
cdrom_spin_down

# FlashRom
flashrom_info
flashrom_read
flashrom_write
flashrom_delete
flashrom_get_syscfg
flashrom_get_region

# SPU
spu_memload
spu_memload_sq
spu_memload_dma
spu_memread
spu_memset
spu_memset_sq
spu_dma_transfer
spu_reset_chans
spu_enable
spu_disable
spu_cdda_volume
spu_cdda_pan
spu_master_mixer
sq_clr
sq_cpy
sq_set
sq_set16
sq_set32
sq_lock
sq_unlock
sq_wait

# Sound
snd_mem_init
snd_mem_shutdown
snd_mem_malloc
snd_mem_free
snd_mem_available
snd_init
snd_shutdown
snd_sh4_to_aica
snd_sh4_to_aica_start
snd_sh4_to_aica_stop
snd_aica_to_sh4
snd_poll_resp
snd_sfx_unload_all
snd_sfx_unload
snd_sfx_load
snd_sfx_load_ex
snd_sfx_load_fd
snd_sfx_play
snd_sfx_stop_all
snd_sfx_play_chn
snd_sfx_stop
snd_sfx_chn_alloc
snd_sfx_chn_free
snd_stream_set_callback
snd_stream_set_callback_direct
snd_stream_filter_add
snd_stream_filter_remove
snd_stream_init
snd_stream_init_ex
snd_stream_shutdown
snd_stream_queue_enable
snd_stream_queue_disable
snd_stream_start
snd_stream_start_pcm8
snd_stream_start_adpcm
snd_stream_queue_go
snd_stream_stop
snd_stream_poll
snd_stream_volume
snd_stream_pan
snd_stream_alloc
snd_stream_destroy
snd_stream_reinit
snd_stream_prefill
snd_pcm16_split
snd_pcm16_split_sq
snd_pcm8_split
snd_adpcm_split

# Video
vid_mode
vram_s
vram_l
vid_check_cable
vid_set_vram
vid_set_start
vid_get_start
vid_set_fb
vid_flip
vid_border_color
vid_clear
vid_empty
vid_get_enabled
vid_set_enabled
vid_waitvbl
vid_set_mode
vid_set_mode_ex
vid_init
vid_shutdown

# Maple
cont_btn_callback
kbd_set_queue
kbd_get_key
maple_driver_reg
maple_driver_unreg
maple_driver_attach
maple_driver_detach
maple_driver_foreach
maple_enum_count
maple_enum_dev
maple_enum_type
maple_dev_status
maple_queue_frame
maple_frame_init
maple_frame_lock
maple_frame_unlock
maple_addr
maple_raddr
maple_pcaps
maple_perror
maple_dev_valid
vmu_draw_lcd
vmu_block_read
vmu_block_write
vmu_set_icon

# PVR
pvr_txr_load_dma
pvr_dma_ready
pvr_dma_load_ta
pvr_dma_yuv_conv
pvr_sq_load
pvr_sq_set16
pvr_sq_set32
pvr_fog_table_color
pvr_fog_vertex_color
pvr_fog_far_depth
pvr_fog_table_exp2
pvr_fog_table_exp
pvr_fog_table_linear
pvr_fog_table_custom
pvr_init
pvr_shutdown
pvr_mem_malloc
pvr_mem_free
pvr_mem_print_list
pvr_mem_available
pvr_mem_reset
pvr_mem_stats
pvr_set_bg_color
pvr_get_vbl_count
pvr_get_stats
pvr_set_pal_format
pvr_poly_compile
pvr_poly_cxt_col
pvr_poly_cxt_txr
pvr_set_vertbuf
pvr_scene_begin
pvr_scene_begin_txr
pvr_list_begin
pvr_list_finish
pvr_prim
pvr_list_prim
pvr_list_flush
pvr_scene_finish
pvr_wait_ready
pvr_check_ready
pvr_txr_load
pvr_txr_load_ex
pvr_txr_load_kimg

# VMUFS
vmufs_dir_fill_time
vmufs_root_read
vmufs_root_write
vmufs_dir_blocks
vmufs_fat_blocks
vmufs_dir_read
vmufs_dir_write
vmufs_fat_read
vmufs_fat_write
vmufs_dir_find
vmufs_dir_add
vmufs_file_read
vmufs_file_write
vmufs_file_delete
vmufs_fat_free
vmufs_dir_free
vmufs_mutex_lock
vmufs_mutex_unlock
vmufs_readdir
vmufs_read
vmufs_read_dirent
vmufs_write
vmufs_delete
vmufs_free_blocks

# Math
mat_store
mat_load
mat_identity
mat_apply
mat_transform
mat_translate
mat_scale
mat_rotate_x
mat_rotate_y
mat_rotate_z
mat_rotate
mat_perspective
mat_lookat

