@@ -118,19 +118,19 @@ int file_munmap(FAR void *start, size_t length)
118
118
* 1. mmap() is the API that is used to support direct access to random
119
119
* access media under the following very restrictive conditions:
120
120
*
121
- * a. The filesystem impelements the mmap file operation. Any file
121
+ * a. The filesystem implements the mmap file operation. Any file
122
122
* system that maps files contiguously on the media should support
123
123
* this ioctl. (vs. file system that scatter files over the media
124
124
* in non-contiguous sectors). As of this writing, ROMFS is the
125
125
* only file system that meets this requirement.
126
126
* b. The underlying block driver supports the BIOC_XIPBASE ioctl
127
127
* command that maps the underlying media to a randomly accessible
128
- * address. At present, only the RAM/ROM disk driver does this.
128
+ * address. At present, only the RAM/ROM disk driver does this.
129
129
*
130
- * munmap() is still not required in this first case. In this first
131
- * The mapped address is a static address in the MCUs address space
132
- * does not need to be munmapped. Support for munmap() in this case
133
- * provided by the simple definition in sys/mman.h:
130
+ * munmap() is still not required in this first case. The mapped address
131
+ * is a static address in the MCUs address space does not need to be
132
+ * munmapped. Support for munmap() in this case provided by the simple
133
+ * definition in sys/mman.h:
134
134
*
135
135
* #define munmap(start, length)
136
136
*
@@ -141,10 +141,10 @@ int file_munmap(FAR void *start, size_t length)
141
141
*
142
142
* Input Parameters:
143
143
* start The start address of the mapping to delete. For this
144
- * simplified munmap() implementation, the * must* be the start
144
+ * simplified munmap() implementation, the must be the start
145
145
* address of the memory region (the same address returned by
146
146
* mmap()).
147
- * length The length region to be umapped .
147
+ * length The length region to be unmapped .
148
148
*
149
149
* Returned Value:
150
150
* On success, munmap() returns 0, on failure -1, and errno is set
0 commit comments