mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
Introduce a new debug sysfs file, which accepts the following commands: ps - show task running in firmware banner - show startup banner get_root - get ROOT object heap - show heap statistics irq - show irq statistics semaphore - show semaphore status wiring - show wiring status get_object_by_name %s - get address for object get_fsm_by_name %s - get address for FSM dump_object %p - show information about object dump_objects - dump all objects (NOTE: will crash firmware) show_objects - show graph about all objects known get_debug_level - get debug level for object set_debug_level - set debug level for object set_debug_level_rec - set debug level recursive for all objects get_fsm_count - get count of FSM's get_fsm_by_index - get fsm address for index get_fsm_debug_level - get debug level for fsm set_fsm_debug_level - set debug level for fsm
28 lines
866 B
C
28 lines
866 B
C
/*
|
|
* Broadcom PCIe 1570 webcam driver
|
|
*
|
|
* Copyright (C) 2015 Sven Schnelle <svens@stackframe.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
* the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#ifndef _FTHD_SYSFS_H
|
|
#define _FTHD_SYSFS_H
|
|
|
|
struct fthd_private;
|
|
|
|
int fthd_sysfs_init(struct fthd_private *priv);
|
|
void fthd_sysfs_exit(struct fthd_private *priv);
|
|
#endif
|