summaryrefslogtreecommitdiff
path: root/minix/kernel/arch/earm/do_padconf.c
blob: 89bbb9233d878d148d5674215bad4ca1356413ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "kernel/system.h"
#include <minix/endpoint.h>

#if USE_PADCONF

/* get arch specific arch_padconf_set() */
#include "bsp_padconf.h"

/*===========================================================================*
 *                                do_padconf                                 *
 *===========================================================================*/
int do_padconf(struct proc *caller_ptr, message *m_ptr)
{
	return bsp_padconf_set(m_ptr->PADCONF_PADCONF, m_ptr->PADCONF_MASK,
	    m_ptr->PADCONF_VALUE);
}

#endif /* USE_PADCONF */