Changeset f8e8738 in mainline for uspace/lib/drv/include/ddf/log.h


Ignore:
Timestamp:
2011-04-07T20:22:40Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fee6381
Parents:
61257f4 (diff), a82889e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Changes from development

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/log.h

    r61257f4 rf8e8738  
    11/*
    2  * Copyright (c) 2005 Sergey Bondari
     2 * Copyright (c) 2011 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup ia32
     29/** @addtogroup libdrv
    3030 * @{
    3131 */
    32 /** @file
    33  */
    3432
    35 #ifndef KERN_ia32_MEMSTR_H_
    36 #define KERN_ia32_MEMSTR_H_
     33#ifndef DDF_LOG_H_
     34#define DDF_LOG_H_
    3735
    38 #define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
     36#include <io/log.h>
    3937
    40 extern void memsetw(void *, size_t, uint16_t);
    41 extern void memsetb(void *, size_t, uint8_t);
     38extern int ddf_log_init(const char *, log_level_t);
     39extern void ddf_msg(log_level_t, const char *, ...);
    4240
    4341#endif
Note: See TracChangeset for help on using the changeset viewer.