Cleanup openpgp_thread.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2016-07-09 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* src/openpgp.c (openpgp_card_thread): Don't need to get SELF.
|
||||||
|
|
||||||
2016-07-06 NIIBE Yutaka <gniibe@fsij.org>
|
2016-07-06 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* src/pin-cir.c (cir_getchar): Use chopstx_poll.
|
* src/pin-cir.c (cir_getchar): Use chopstx_poll.
|
||||||
|
|||||||
8
NEWS
8
NEWS
@@ -1,5 +1,13 @@
|
|||||||
Gnuk NEWS - User visible changes
|
Gnuk NEWS - User visible changes
|
||||||
|
|
||||||
|
* Major changes in Gnuk 1.2.1
|
||||||
|
|
||||||
|
Released 2016-07-11, by NIIBE Yutaka
|
||||||
|
|
||||||
|
** Upgrade of Chopstx
|
||||||
|
We use Chopstx 1.1.
|
||||||
|
|
||||||
|
|
||||||
* Major changes in Gnuk 1.2.0
|
* Major changes in Gnuk 1.2.0
|
||||||
|
|
||||||
Released 2016-05-20, by NIIBE Yutaka
|
Released 2016-05-20, by NIIBE Yutaka
|
||||||
|
|||||||
1
THANKS
1
THANKS
@@ -19,6 +19,7 @@ Hironobu SUZUKI hironobu@h2np.net
|
|||||||
Jan Suhr jan@suhr.info
|
Jan Suhr jan@suhr.info
|
||||||
Jonathan McDowell noodles@earth.li
|
Jonathan McDowell noodles@earth.li
|
||||||
Kaz Kojima kkojima@rr.iij4u.or.jp
|
Kaz Kojima kkojima@rr.iij4u.or.jp
|
||||||
|
Kenji Rikitake
|
||||||
Ludovic Rousseau ludovic.rousseau@free.fr
|
Ludovic Rousseau ludovic.rousseau@free.fr
|
||||||
Luis Felipe R. Murillo luisfelipe@ucla.edu
|
Luis Felipe R. Murillo luisfelipe@ucla.edu
|
||||||
Mateusz Zalega mateusz@nitrokey.com
|
Mateusz Zalega mateusz@nitrokey.com
|
||||||
|
|||||||
@@ -1369,23 +1369,10 @@ process_command_apdu (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void * card_thread (chopstx_t thd, struct eventflag *ccid_comm);
|
void *
|
||||||
|
|
||||||
void * __attribute__ ((naked))
|
|
||||||
openpgp_card_thread (void *arg)
|
openpgp_card_thread (void *arg)
|
||||||
{
|
{
|
||||||
chopstx_t thd;
|
struct eventflag *ccid_comm = (struct eventflag *)arg;
|
||||||
|
|
||||||
asm ("mov %0, sp" : "=r" (thd));
|
|
||||||
return card_thread (thd, (struct eventflag *)arg);
|
|
||||||
}
|
|
||||||
|
|
||||||
chopstx_t openpgp_card_thd;
|
|
||||||
|
|
||||||
static void * __attribute__ ((noinline))
|
|
||||||
card_thread (chopstx_t thd, struct eventflag *ccid_comm)
|
|
||||||
{
|
|
||||||
openpgp_card_thd = thd;
|
|
||||||
|
|
||||||
openpgp_comm = ccid_comm + 1;
|
openpgp_comm = ccid_comm + 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user