/* This function set priority grouping field split point.  */
int rt_hw_interrupt_set_prior_group_bits(unsigned int bits)
/* This function set priority grouping field split point.  */
int rt_hw_interrupt_set_prior_group_bits(unsigned int bits)
{
    int status;
    if (bits < 8)
    {
        arm_gic_set_binary_point(0, (7 - bits));
        status = 0;
    }
    else
    {
        status = -1;
    }
    return (status);
}