libvtsSUNWast.h revision 1385
#ifndef _LIBVTSSUNWAST_H
#define _LIBVTSSUNWAST_H
#include <errno.h>
#include <memory.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <setjmp.h>
#include "gfx_common.h"
#define Status int
#include "graphicstest.h"
#include "gfx_vts.h"
#include "astio.h"
#include "ast.h"
typedef struct ast_info {
char const *ast_name;
int ast_fd;
int ast_endian;
int ast_palet_changed;
} ast_info_t;
typedef struct ast_xw_struct {
char const *xw_dispname;
int xw_screen;
int xw_ss_timeout;
int xw_ss_interval;
} ast_xw_t;
#ifdef __cplusplus
/* chip.c */
int const fd);
extern int chip_test(
int const fd);
extern int draw_lines(
extern int draw_cascaded_box(
/* dma.c */
register int const fd);
extern int dma_test(
int const fd);
/* mapper.c */
int const fd);
extern int map_me(
int const fd);
extern int ast_test_scratch(
int const test);
/* memory.c */
int const fd);
extern int memory_test(
int const fd);
extern void check_plane(
int const num_planes,
int const access_mode,
int const fb_pitch,
int const fb_height,
int const fb_width,
int const bytepp,
extern void init_data(
int const num_planes);
int const xoff,
int const yoff,
int const access_mode,
int const fb_pitch,
int const bytepp,
/* tools.c */
extern int ast_map_mem(
int const test);
extern int ast_get_pci_info(
extern int ast_map_mmio(
extern int ast_map_fb(
extern int ast_init_info(
int const test);
extern int ast_init_graphics(
extern int ast_finish_graphics(
extern int ast_save_palet(
extern int ast_set_palet(
extern int ast_restore_palet(
extern int ast_open_key(
extern int ast_fill_solid_rect(
extern int ast_fill_pattern_rect(
extern int ast_draw_solid_line(
extern int ast_unmap_mem(
int const test);
extern int ast_unmap_fb(
extern int ast_unmap_mmio(
extern int ast_store_mmio(
extern int ast_get_index_reg(
extern int ast_set_index_reg(
extern int ast_get_reg(
extern int ast_set_reg(
extern void ast_mmio_write32(
extern int ast_wait_idle(
/* libvtsSUNWast.c */
extern void ast_block_signals(
extern void ast_restore_signals(
extern int ast_lock_display(
extern int ast_unlock_display(
extern int ast_open_display(
extern int ast_create_cursor(
extern int ast_create_window(
extern int ast_grab_server(
extern int ast_ungrab_server(
extern int ast_grab_keyboard(
extern int ast_ungrab_keyboard(
extern int ast_grab_pointer(
extern int ast_ungrab_pointer(
extern int ast_disable_screensaver(
extern int ast_restore_screensaver(
extern int ast_disable_dpms(
extern int ast_restore_dpms(
extern int ast_sleep(
extern void ast_signal_routine(
int const signo);
extern int ast_check_for_interrupt(
extern void graphicstest_finish(
int const flag);
#ifdef __cplusplus
/* End of libvtsSUNWast.h */