Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1780
Line 37... Line 37...
37
 
37
 
38
#include <ddi/ddi_arg.h>
38
#include <ddi/ddi_arg.h>
39
#include <arch/types.h>
39
#include <arch/types.h>
40
#include <typedefs.h>
40
#include <typedefs.h>
41
 
41
 
42
__native sys_physmem_map(__native phys_base, __native virt_base, __native pages,
42
unative_t sys_physmem_map(unative_t phys_base, unative_t virt_base, unative_t pages,
43
             __native flags);
43
             unative_t flags);
44
extern __native sys_iospace_enable(ddi_ioarg_t *uspace_io_arg);
44
extern unative_t sys_iospace_enable(ddi_ioarg_t *uspace_io_arg);
45
extern __native sys_preempt_control(int enable);
45
extern unative_t sys_preempt_control(int enable);
46
 
46
 
47
/*
47
/*
48
 * Interface to be implemented by all architectures.
48
 * Interface to be implemented by all architectures.
49
 */
49
 */
50
extern int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size);
50
extern int ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size);
51
 
51
 
52
#endif
52
#endif
53
 
53
 
54
 /** @}
54
 /** @}
55
 */
55
 */