Add structure for common pre- and post-reset tasks

This commit is contained in:
Adam Madsen
2020-11-01 16:14:11 -06:00
parent 5a32e3e3c2
commit 9c2185f113
16 changed files with 391 additions and 63 deletions

3
userspace/Makefile Normal file
View File

@@ -0,0 +1,3 @@
userccflags += -I$(src)/../include
userprogs-always-y += vendor-reset
vendor-reset-objs += vendor-reset.o

Binary file not shown.

View File

@@ -16,12 +16,12 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "../include/vendor-reset.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "vendor-reset.h"
int main(int argc, char * argv[])
{