Changeset 0fa34dd in mainline for abi/include/klog.h


Ignore:
Timestamp:
2012-12-02T16:36:29Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11527051
Parents:
3e6a98c5 (diff), 4a5ba372 (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:

Merge non contentious changesets from lp:~jakub/helenos/klog.

  • Removal of the amd64 and ia32 kernel debugger.
  • Allow klog to feed kconsole commands to kernel's stdin.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • abi/include/klog.h

    r3e6a98c5 r0fa34dd  
    11/*
    2  * Copyright (c) 2006 Ondrej Palkovsky
     2 * Copyright (c) 2012 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup amd64debug
     29/** @addtogroup generic
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef KERN_amd64_DEBUGGER_H_
    36 #define KERN_amd64_DEBUGGER_H_
     35#ifndef ABI_KLOG_H_
     36#define ABI_KLOG_H_
    3737
    38 #include <typedefs.h>
    39 
    40 #define BKPOINTS_MAX  4
    41 
    42 /* Flags that are passed to breakpoint_add function */
    43 #define BKPOINT_INSTR       0x1U
    44 #define BKPOINT_WRITE       0x2U
    45 #define BKPOINT_READ_WRITE  0x4U
    46 
    47 #define BKPOINT_CHECK_ZERO  0x8U
    48 
    49 
    50 extern void debugger_init(void);
    51 extern int breakpoint_add(const void *, const unsigned int, int);
    52 extern void breakpoint_del(int);
     38enum {
     39        KLOG_UNKNOW,
     40        KLOG_WRITE,
     41        KLOG_UPDATE,
     42        KLOG_COMMAND
     43};
    5344
    5445#endif
Note: See TracChangeset for help on using the changeset viewer.