]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/os.h
sandbox: Allow Ctrl-C to work in sandbox
[karo-tx-uboot.git] / include / os.h
index 9b5da5c43d5845fe40af9edd6d637e08aaaff91f..0230a7f40da07893ff2d9d92f1929e7b9cabc1d2 100644 (file)
@@ -103,8 +103,12 @@ void os_exit(int exit_code) __attribute__((noreturn));
 
 /**
  * Put tty into raw mode to mimic serial console better
+ *
+ * @param fd           File descriptor of stdin (normally 0)
+ * @param allow_sigs   Allow Ctrl-C, Ctrl-Z to generate signals rather than
+ *                     be handled by U-Boot
  */
-void os_tty_raw(int fd);
+void os_tty_raw(int fd, bool allow_sigs);
 
 /**
  * Acquires some memory from the underlying os.