process.cc (9180:ee8d7a51651d) | process.cc (9550:e0e2c8f83d08) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 153 unchanged lines hidden (view full) --- 162 fdo->filename = err; 163 fdo->flags = O_WRONLY; 164 fdo->mode = -1; 165 fdo->fileOffset = 0; 166 167 168 // mark remaining fds as free 169 for (int i = 3; i <= MAX_FD; ++i) { | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 153 unchanged lines hidden (view full) --- 162 fdo->filename = err; 163 fdo->flags = O_WRONLY; 164 fdo->mode = -1; 165 fdo->fileOffset = 0; 166 167 168 // mark remaining fds as free 169 for (int i = 3; i <= MAX_FD; ++i) { |
170 Process::FdMap *fdo = &fd_map[i]; | 170 fdo = &fd_map[i]; |
171 fdo->fd = -1; 172 } 173 174 mmap_start = mmap_end = 0; 175 nxm_start = nxm_end = 0; 176 // other parameters will be initialized when the program is loaded 177} 178 --- 564 unchanged lines hidden --- | 171 fdo->fd = -1; 172 } 173 174 mmap_start = mmap_end = 0; 175 nxm_start = nxm_end = 0; 176 // other parameters will be initialized when the program is loaded 177} 178 --- 564 unchanged lines hidden --- |