2 * $Id: kl_task.h 1122 2004-12-21 23:26:23Z tjm $
4 * This file is part of libklib.
5 * A library which provides access to Linux system kernel dumps.
7 * Created by Silicon Graphics, Inc.
8 * Contributions by IBM, NEC, and others
10 * Copyright (C) 1999 - 2002, 2004 Silicon Graphics, Inc. All rights reserved.
11 * Copyright (C) 2001, 2002 IBM Deutschland Entwicklung GmbH, IBM Corporation
12 * Copyright 2000 Junichi Nomura, NEC Solutions <j-nomura@ce.jp.nec.com>
14 * This code is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser Public License as published by
16 * the Free Software Foundation; either version 2.1 of the License, or
17 * (at your option) any later version. See the file COPYING for more
24 extern kaddr_t deftask;
26 /* Function prototypes
28 k_error_t kl_set_deftask(kaddr_t);
29 int kl_parent_pid(void *);
30 kaddr_t kl_pid_to_task(kaddr_t);
31 k_error_t kl_get_task_struct(kaddr_t, int, void *);
32 kaddr_t kl_kernelstack(kaddr_t);
33 kaddr_t kl_first_task(void);
34 kaddr_t kl_next_task(void *);
35 kaddr_t kl_prev_task(void *);
36 kaddr_t kl_pid_to_task(kaddr_t);
37 int kl_task_size(kaddr_t);
39 #endif /* __KL_TASK_H */