Changeset 0da0dea in rtems
- Timestamp:
- 10/19/00 15:33:03 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c92fb641
- Parents:
- e090b7e
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libnetworking/ChangeLog
re090b7e r0da0dea 1 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com> 2 3 * lib/tftpDriver.c: add comments to handlers struct function pointers. 4 * rtems/rtems_glue.c: move pointer arithmetic to be _after_ 5 pointer has been checked against NULL. 6 1 7 2000-10-18 Chris Johns <ccj@acm.org> 2 8 -
c/src/exec/libnetworking/lib/tftpDriver.c
re090b7e r0da0dea 761 761 762 762 rtems_filesystem_file_handlers_r rtems_tftp_handlers = { 763 rtems_tftp_open, 764 rtems_tftp_close, 765 rtems_tftp_read, 766 rtems_tftp_write, 767 NULL, 768 NULL, 769 NULL, 770 NULL, 771 NULL, 772 NULL, 773 NULL, 774 NULL, 763 rtems_tftp_open, /* open */ 764 rtems_tftp_close, /* close */ 765 rtems_tftp_read, /* read */ 766 rtems_tftp_write, /* write */ 767 NULL, /* ioctl */ 768 NULL, /* lseek */ 769 NULL, /* fstat */ 770 NULL, /* fchmod */ 771 NULL, /* ftruncate */ 772 NULL, /* fpathconf */ 773 NULL, /* fsync */ 774 NULL, /* fdatasync */ 775 NULL, /* fcntl */ 776 NULL /* rmnod */ 775 777 }; -
c/src/exec/libnetworking/rtems/rtems_glue.c
re090b7e r0da0dea 143 143 */ 144 144 p = malloc ((nmbclusters*MCLBYTES)+MCLBYTES-1); 145 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1));146 145 if (p == NULL) { 147 146 printf ("Can't get network cluster memory.\n"); 148 147 return -1; 149 148 } 149 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1)); 150 150 mbutl = (struct mbuf *)p; 151 151 for (i = 0; i < nmbclusters; i++) { -
c/src/libnetworking/ChangeLog
re090b7e r0da0dea 1 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com> 2 3 * lib/tftpDriver.c: add comments to handlers struct function pointers. 4 * rtems/rtems_glue.c: move pointer arithmetic to be _after_ 5 pointer has been checked against NULL. 6 1 7 2000-10-18 Chris Johns <ccj@acm.org> 2 8 -
c/src/libnetworking/lib/tftpDriver.c
re090b7e r0da0dea 761 761 762 762 rtems_filesystem_file_handlers_r rtems_tftp_handlers = { 763 rtems_tftp_open, 764 rtems_tftp_close, 765 rtems_tftp_read, 766 rtems_tftp_write, 767 NULL, 768 NULL, 769 NULL, 770 NULL, 771 NULL, 772 NULL, 773 NULL, 774 NULL, 763 rtems_tftp_open, /* open */ 764 rtems_tftp_close, /* close */ 765 rtems_tftp_read, /* read */ 766 rtems_tftp_write, /* write */ 767 NULL, /* ioctl */ 768 NULL, /* lseek */ 769 NULL, /* fstat */ 770 NULL, /* fchmod */ 771 NULL, /* ftruncate */ 772 NULL, /* fpathconf */ 773 NULL, /* fsync */ 774 NULL, /* fdatasync */ 775 NULL, /* fcntl */ 776 NULL /* rmnod */ 775 777 }; -
c/src/libnetworking/rtems/rtems_glue.c
re090b7e r0da0dea 143 143 */ 144 144 p = malloc ((nmbclusters*MCLBYTES)+MCLBYTES-1); 145 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1));146 145 if (p == NULL) { 147 146 printf ("Can't get network cluster memory.\n"); 148 147 return -1; 149 148 } 149 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1)); 150 150 mbutl = (struct mbuf *)p; 151 151 for (i = 0; i < nmbclusters; i++) { -
cpukit/libnetworking/ChangeLog
re090b7e r0da0dea 1 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com> 2 3 * lib/tftpDriver.c: add comments to handlers struct function pointers. 4 * rtems/rtems_glue.c: move pointer arithmetic to be _after_ 5 pointer has been checked against NULL. 6 1 7 2000-10-18 Chris Johns <ccj@acm.org> 2 8 -
cpukit/libnetworking/lib/tftpDriver.c
re090b7e r0da0dea 761 761 762 762 rtems_filesystem_file_handlers_r rtems_tftp_handlers = { 763 rtems_tftp_open, 764 rtems_tftp_close, 765 rtems_tftp_read, 766 rtems_tftp_write, 767 NULL, 768 NULL, 769 NULL, 770 NULL, 771 NULL, 772 NULL, 773 NULL, 774 NULL, 763 rtems_tftp_open, /* open */ 764 rtems_tftp_close, /* close */ 765 rtems_tftp_read, /* read */ 766 rtems_tftp_write, /* write */ 767 NULL, /* ioctl */ 768 NULL, /* lseek */ 769 NULL, /* fstat */ 770 NULL, /* fchmod */ 771 NULL, /* ftruncate */ 772 NULL, /* fpathconf */ 773 NULL, /* fsync */ 774 NULL, /* fdatasync */ 775 NULL, /* fcntl */ 776 NULL /* rmnod */ 775 777 }; -
cpukit/libnetworking/rtems/rtems_glue.c
re090b7e r0da0dea 143 143 */ 144 144 p = malloc ((nmbclusters*MCLBYTES)+MCLBYTES-1); 145 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1));146 145 if (p == NULL) { 147 146 printf ("Can't get network cluster memory.\n"); 148 147 return -1; 149 148 } 149 p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1)); 150 150 mbutl = (struct mbuf *)p; 151 151 for (i = 0; i < nmbclusters; i++) {
Note: See TracChangeset
for help on using the changeset viewer.