From ca7858bb8856f1afcc537f39763b7c951e5068d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 26 Jul 2000 19:28:11 +0000 Subject: Port of RTEMS to the Texas Instruments C3x/C4x DSP families including a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4. --- c/src/libnetworking/pppd/fsm.c | 2 +- c/src/libnetworking/pppd/fsm.h | 2 +- c/src/libnetworking/pppd/upap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'c/src/libnetworking') diff --git a/c/src/libnetworking/pppd/fsm.c b/c/src/libnetworking/pppd/fsm.c index aeb4564b98..09b67486e5 100644 --- a/c/src/libnetworking/pppd/fsm.c +++ b/c/src/libnetworking/pppd/fsm.c @@ -36,7 +36,7 @@ #include "fsm.h" static void fsm_timeout __P((void *)); -static void fsm_rconfreq __P((fsm *, int, u_char *, int)); +static void fsm_rconfreq __P((fsm *, u_char, u_char *, int)); static void fsm_rconfack __P((fsm *, int, u_char *, int)); static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int)); static void fsm_rtermreq __P((fsm *, int, u_char *, int)); diff --git a/c/src/libnetworking/pppd/fsm.h b/c/src/libnetworking/pppd/fsm.h index f289429fdc..c04050a369 100644 --- a/c/src/libnetworking/pppd/fsm.h +++ b/c/src/libnetworking/pppd/fsm.h @@ -135,7 +135,7 @@ void fsm_open __P((fsm *)); void fsm_close __P((fsm *, char *)); void fsm_input __P((fsm *, u_char *, int)); void fsm_protreject __P((fsm *)); -void fsm_sdata __P((fsm *, int, int, u_char *, int)); +void fsm_sdata __P((fsm *, u_char, u_char, u_char *, int)); /* diff --git a/c/src/libnetworking/pppd/upap.c b/c/src/libnetworking/pppd/upap.c index f2cdb921c5..78b3b2f5f7 100644 --- a/c/src/libnetworking/pppd/upap.c +++ b/c/src/libnetworking/pppd/upap.c @@ -72,7 +72,7 @@ static void upap_rauthreq __P((upap_state *, u_char *, int, int)); static void upap_rauthack __P((upap_state *, u_char *, int, int)); static void upap_rauthnak __P((upap_state *, u_char *, int, int)); static void upap_sauthreq __P((upap_state *)); -static void upap_sresp __P((upap_state *, int, int, char *, int)); +static void upap_sresp __P((upap_state *, u_char, u_char, char *, int)); /* -- cgit v1.2.3