phunix/minix/kernel/arch/earm/do_padconf.c
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

19 lines
563 B
C

#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 */