Cosmetic update to comments/README

This commit is contained in:
Gregory Nutt
2014-10-01 15:02:49 -06:00
parent 2a3b6ddc10
commit 73afa66228
2 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -42,7 +42,7 @@ Serial Console
to 165-5.5V.
2) In addition, a second UART provides RS-232 support via a MAX3232 driver
and is connected via a 3.5mm jack: Sleeve = GND, RING=SERIAL1_RXD, and
and is connected via a 3.5mm jack: Sleeve=GND, RING=SERIAL1_RXD, and
TIP=SERIAL1_TXD.
UART1 may be convenient because of its built-in RS232 drivers. But if you
@@ -64,8 +64,8 @@ Running from SRAM
To map and enable the 512KB block page, the following steps should be
followed:
- Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required
address value
- Set ESRAMPGCTRL_BLOCK.BLOCK_PG_SYSTEM_ADDRESS_16MB to the required
address value
- Set ESRAMPGCTRL_BLOCK.BLOCK_ENABLE_PG to 1
Once an eSRAM page is enabled, it is implicitly locked and any further
+13 -13
View File
@@ -240,16 +240,16 @@ union inode_ops_u
struct inode
{
FAR struct inode *i_peer; /* Link to same level inode */
FAR struct inode *i_child; /* Link to lower level inode */
int16_t i_crefs; /* References to inode */
uint16_t i_flags; /* Flags for inode */
union inode_ops_u u; /* Inode operations */
FAR struct inode *i_peer; /* Link to same level inode */
FAR struct inode *i_child; /* Link to lower level inode */
int16_t i_crefs; /* References to inode */
uint16_t i_flags; /* Flags for inode */
union inode_ops_u u; /* Inode operations */
#ifdef CONFIG_FILE_MODE
mode_t i_mode; /* Access mode flags */
mode_t i_mode; /* Access mode flags */
#endif
FAR void *i_private; /* Per inode driver private data */
char i_name[1]; /* Name of inode (variable) */
FAR void *i_private; /* Per inode driver private data */
char i_name[1]; /* Name of inode (variable) */
};
#define FSNODE_SIZE(n) (sizeof(struct inode) + (n))
@@ -260,10 +260,10 @@ struct inode
struct file
{
int f_oflags; /* Open mode flags */
off_t f_pos; /* File position */
FAR struct inode *f_inode; /* Driver interface */
void *f_priv; /* Per file driver private data */
int f_oflags; /* Open mode flags */
off_t f_pos; /* File position */
FAR struct inode *f_inode; /* Driver interface */
void *f_priv; /* Per file driver private data */
};
/* This defines a list of files indexed by the file descriptor */
@@ -271,7 +271,7 @@ struct file
#if CONFIG_NFILE_DESCRIPTORS > 0
struct filelist
{
sem_t fl_sem; /* Manage access to the file list */
sem_t fl_sem; /* Manage access to the file list */
struct file fl_files[CONFIG_NFILE_DESCRIPTORS];
};
#endif