Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/drivers/amdm37x/gpt.h

    r7354b5e r63e27ef  
    3737#define KERN_AMDM37x_GPT_H_
    3838
     39#include <assert.h>
    3940#include <typedefs.h>
    4041#include <mm/km.h>
     
    211212        km_unmap((uintptr_t)clksel, 4);
    212213
    213         ASSERT(timer);
     214        assert(timer);
    214215        /* Map control register */
    215216        timer->regs = (void*) km_map(ioregs, iosize, PAGE_NOT_CACHEABLE);
     
    247248static inline void amdm37x_gpt_timer_ticks_start(amdm37x_gpt_t* timer)
    248249{
    249         ASSERT(timer);
    250         ASSERT(timer->regs);
     250        assert(timer);
     251        assert(timer->regs);
    251252        /* Enable overflow interrupt */
    252253        timer->regs->tier |= AMDM37x_GPT_TIER_OVF_IRQ_FLAG;
     
    257258static inline bool amdm37x_gpt_irq_ack(amdm37x_gpt_t* timer)
    258259{
    259         ASSERT(timer);
    260         ASSERT(timer->regs);
     260        assert(timer);
     261        assert(timer->regs);
    261262        /* Clear all pending interrupts */
    262263        const uint32_t tisr = timer->regs->tisr;
Note: See TracChangeset for help on using the changeset viewer.