Fix various typos
This commit is contained in:
parent
0bdf713df0
commit
849f760b77
2
Kconfig
2
Kconfig
@ -1858,7 +1858,7 @@ config DEBUG_TCBINFO
|
||||
bool "Enable TCBinfo struct for debug"
|
||||
default n
|
||||
---help---
|
||||
Enables tcbinfo struct for debugger infomation.
|
||||
Enables tcbinfo struct for debugger information.
|
||||
Selecting this option will enable g_tcbinfo in arch and
|
||||
procfs.
|
||||
|
||||
|
@ -126,7 +126,7 @@ static int getlroffset(uint8_t *lr)
|
||||
* pc - Program counter address
|
||||
*
|
||||
* Returned Value:
|
||||
* A boolean value: true the counter is vaild
|
||||
* A boolean value: true the counter is valid
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
@ -104,7 +104,7 @@ extern "C"
|
||||
#define LOG_LEVEL_NONE 0 /* no log output */
|
||||
#define LOG_LEVEL_ERROR 1 /* only log error */
|
||||
#define LOG_LEVEL_DEBUG 2 /* output debug info and error info */
|
||||
#define LOG_LEVEL_LOG 3 /* output all infomation */
|
||||
#define LOG_LEVEL_LOG 3 /* output all information */
|
||||
|
||||
#define LOG_INIT() {hal_uart_init(115200, P9, P10, NULL);}
|
||||
|
||||
|
@ -423,7 +423,7 @@ config SAMV7_AFEC_DMASAMPLES
|
||||
default 2
|
||||
depends on SAMV7_AFEC_DMA
|
||||
---help---
|
||||
Number of DMA samples to be transfered. Number of samples less than
|
||||
Number of DMA samples to be transferred. Number of samples less than
|
||||
2 might be inneficient.
|
||||
|
||||
choice
|
||||
@ -496,7 +496,7 @@ config SAMV7_AFEC_DMASAMPLES
|
||||
default 2
|
||||
depends on SAMV7_AFEC_DMA
|
||||
---help---
|
||||
Number of DMA samples to be transfered. Number of samples less than
|
||||
Number of DMA samples to be transferred. Number of samples less than
|
||||
2 might be inneficient.
|
||||
|
||||
choice
|
||||
|
@ -112,7 +112,7 @@ static int getlroffset(uint8_t *lr)
|
||||
* pc - Program counter address
|
||||
*
|
||||
* Returned Value:
|
||||
* A boolean value: true the counter is vaild
|
||||
* A boolean value: true the counter is valid
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
@ -610,7 +610,7 @@ int tlsr82_gpiounconfig(gpio_cfg_t cfg)
|
||||
{
|
||||
gpio_cfg_t pinset;
|
||||
|
||||
/* Get the pin infomation in cfg */
|
||||
/* Get the pin information in cfg */
|
||||
|
||||
pinset = GPIO_CFG2PIN(cfg);
|
||||
|
||||
|
@ -670,7 +670,7 @@ static void uart_dma_send(uart_priv_t *priv, char *buf, size_t len)
|
||||
}
|
||||
|
||||
/* Copy the driver buffer to dma buffer, this is necessary because
|
||||
* the first 4 bytes of the buffer must be the transfered size, which
|
||||
* the first 4 bytes of the buffer must be the transferred size, which
|
||||
* is telin dma peripheral required.
|
||||
* NOTE: the memcpy better be ramcode.
|
||||
*/
|
||||
|
@ -76,8 +76,8 @@
|
||||
* specific chips do not support external RAM.
|
||||
*/
|
||||
|
||||
/* Each part has a different amount on on-chip FLASH. The ending FLASH address is
|
||||
* 0xfffff for all chips, but the starting address varies depening on the amount
|
||||
/* Each part has a different amount of on-chip FLASH. The ending FLASH address is
|
||||
* 0xfffff for all chips, but the starting address varies depending on the amount
|
||||
* of on-chip FLASH.
|
||||
*/
|
||||
|
||||
@ -101,7 +101,7 @@
|
||||
#define M16C_PM1 0x00005 /* Processor mode 1 */
|
||||
#define M16C_CM0 0x00006 /* System clock control 0 */
|
||||
#define M16C_CM1 0x00007 /* System clock control 1 */
|
||||
#define M16C_AIER 0x00009 /* Addrese match interrupt enable */
|
||||
#define M16C_AIER 0x00009 /* Address match interrupt enable */
|
||||
#define M16C_PRCR 0x0000a /* Protect */
|
||||
#define M16C_CM2 0x0000c /* Oscillation stop detection */
|
||||
#define M16C_WDTS 0x0000e /* Watchdog timer start */
|
||||
|
@ -117,7 +117,7 @@
|
||||
#endif
|
||||
|
||||
#if CONFIG_RX65N_USBHOST_NTDS < 2
|
||||
# error "Insufficent TDs"
|
||||
# error "Insufficient TDs"
|
||||
#endif
|
||||
|
||||
/* Derived size of user transfer descriptor (TD) memory. */
|
||||
|
@ -1285,7 +1285,7 @@ static int format_scan_result_to_wapi(struct iwreq *req, int result_cnt)
|
||||
|
||||
DEBUGASSERT(j == result_cnt);
|
||||
|
||||
/* sort the vaild list according the rssi */
|
||||
/* sort the valid list according the rssi */
|
||||
|
||||
qsort(rssi_list, result_cnt, sizeof(uint8_t), rssi_compare);
|
||||
|
||||
|
@ -44,7 +44,7 @@ struct mpfs_dma_channel_config
|
||||
{
|
||||
uint64_t src_addr; /* source address */
|
||||
uint64_t dest_addr; /* destination address */
|
||||
uint64_t num_bytes; /* Number of bytes to be transfered. (Base-2) */
|
||||
uint64_t num_bytes; /* Number of bytes to be transferred. (Base-2) */
|
||||
uint8_t enable_done_int; /* enable transfer complete interrupt */
|
||||
uint8_t enable_err_int; /* enable transfer error interrupt */
|
||||
uint8_t repeat; /* repeat the transaction */
|
||||
|
@ -72,7 +72,7 @@ mpfs_global_pointer:
|
||||
* mtvec, global pointer and the stack (per hart) for the OpenSBI.
|
||||
* mpfs_global_pointer is used to store the real __global_pointer$ as
|
||||
* seen in the .map file. Loading gp, _global_pointer$ would default to
|
||||
* mv gp, gp -instruction which isn't what we want. External libraties seem
|
||||
* mv gp, gp -instruction which isn't what we want. External libraries seem
|
||||
* to link relative to gp. When trapping from the kernel, the gp has been
|
||||
* utilized for other purposes, so we need to save and restore gp at all
|
||||
* times.
|
||||
|
@ -32,7 +32,7 @@
|
||||
#elif defined(CONFIG_ARCH_CHIP_RV32M1_ZERORISCY)
|
||||
# error "rv32m1 zero-riscy is to be continued..."
|
||||
#else
|
||||
# error "Unspported rv32m1 cortex-m cores"
|
||||
# error "Unsupported rv32m1 cortex-m cores"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_RISCV_SRC_RV32M1_HARDWARE_RV32M1_MEMORYMAP_H */
|
||||
|
@ -32,7 +32,7 @@
|
||||
#elif defined(CONFIG_ARCH_CHIP_RV32M1_ZERORISCY)
|
||||
# error "rv32m1 zero-riscy is to be continued..."
|
||||
#else
|
||||
# error "Unspported rv32m1 cortex-m cores"
|
||||
# error "Unsupported rv32m1 cortex-m cores"
|
||||
#endif
|
||||
|
||||
#endif /* _ARCH_RISCV_SRC_RV32M1_CHIP_RV32M1_SCG_H */
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
#define WDOG_CS_WIN (1 << 15) /* Bit15: Window */
|
||||
#define WDOG_CS_FLG (1 << 14) /* Bit14: Interrupt Flag */
|
||||
#define WDOG_CS_CMD32EN (1 << 13) /* Bit13: suport 32bit command */
|
||||
#define WDOG_CS_CMD32EN (1 << 13) /* Bit13: support 32bit command */
|
||||
#define WDOG_CS_PRES (1 << 12) /* Bit12: Prescaler, '1' enables 256 prescaler */
|
||||
#define WDOG_CS_ULK (1 << 11) /* Bit11: Unlock status */
|
||||
#define WDOG_CS_RCS (1 << 10) /* Bit10: Reconfiguration Success */
|
||||
|
@ -337,7 +337,7 @@ irq_common:
|
||||
/* The common return point for both isr_handler and irq_handler */
|
||||
|
||||
.Lreturn:
|
||||
/* EAX may possibly hold a pointer to a different regiser save area on
|
||||
/* EAX may possibly hold a pointer to a different register save area on
|
||||
* return. Are we switching to a new context?
|
||||
*/
|
||||
|
||||
|
@ -1299,7 +1299,7 @@
|
||||
#define UART_HIGHPULSE_REG (DR_REG_UART_BASE + 0x2c)
|
||||
|
||||
/* UART_HIGHPULSE_MIN_CNT : RO; bitpos: [11:0]; default: 4095;
|
||||
* This register stores the value of the maxinum duration time for the high
|
||||
* This register stores the value of the maximum duration time for the high
|
||||
* level pulse. It is used in baud rate-detect process.
|
||||
*/
|
||||
|
||||
|
@ -718,7 +718,7 @@ Configuration sub-directories
|
||||
running application "adc" in NuttShell.
|
||||
|
||||
The ADC is triggered by Timer/counter at 1 kHz frequency and uses
|
||||
DMA to transfer samples. Number of transfered samples can be set
|
||||
DMA to transfer samples. Number of transferred samples can be set
|
||||
by configuring CONFIG_SAMV7_AFEC_DMASAMPLES.
|
||||
|
||||
nsh:
|
||||
|
@ -1318,7 +1318,7 @@ Configuration sub-directories
|
||||
running application "adc" in NuttShell.
|
||||
|
||||
The ADC is triggered by Timer/counter at 1 kHz frequency and uses
|
||||
DMA to transfer samples. Number of transfered samples can be set
|
||||
DMA to transfer samples. Number of transferred samples can be set
|
||||
by configuring CONFIG_SAMV7_AFEC_DMASAMPLES.
|
||||
|
||||
mrf24j40-starhub
|
||||
|
@ -97,10 +97,10 @@ Here are some links (which will probably be mostly outdated by the time your rea
|
||||
Home Page: http://bochs.sourceforge.net
|
||||
|
||||
The bochs can be build from source.
|
||||
Unlike qemu, it do not rely on KVM to support modern hardware features, therefor it can
|
||||
also be used under windows.
|
||||
Unlike qemu, it does not rely on KVM to support modern hardware features, therefore it can
|
||||
also be used under Windows.
|
||||
When building bochs, remember to enable x86-64 support with "--enable-x86-64".
|
||||
If you also want the support of SIMD instruction, enable them with "--enable-avx --enable-evex".
|
||||
If you also want support for SIMD instructions, enable them with "--enable-avx --enable-evex".
|
||||
|
||||
Running Bochs
|
||||
------------
|
||||
|
@ -219,7 +219,7 @@ static int tca9548a_select_channel(FAR struct tca9548a_dev_s *priv,
|
||||
* attached to the virtual i2c_master ".transfer()" pointer. This way every
|
||||
* time an I2C message is sent it is called and it starts sending a command
|
||||
* to TCA9548A setup the right channel defined to this i2c_master. All the
|
||||
* expected messages are then transfered to the I2C device connected the
|
||||
* expected messages are then transferred to the I2C device connected the
|
||||
* this selected channel.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
@ -121,7 +121,7 @@
|
||||
#define MCP23X17_IOCON_ODR (1 << 2) /* Config INT pin as open-drain */
|
||||
#define MCP23X17_IOCON_HAEN (1 << 3) /* HW Address enable bit */
|
||||
#define MCP23X17_IOCON_DISSLW (1 << 4) /* Disable Slew Rate for SDA output */
|
||||
#define MCP23X17_IOCON_SEQOP (1 << 5) /* Disable Sequencial Operation */
|
||||
#define MCP23X17_IOCON_SEQOP (1 << 5) /* Disable Sequential Operation */
|
||||
#define MCP23X17_IOCON_MIRROR (1 << 6) /* Mirror INT pins */
|
||||
#define MCP23X17_IOCON_BANK (1 << 7) /* Configure how to address register */
|
||||
|
||||
|
@ -655,14 +655,14 @@ static int ssd1680_configuredisplay(struct ssd1680_dev_s *priv)
|
||||
ssd1680_snd_cmd_with_data1(priv,
|
||||
SSD1680_DATA_MODE, SSD1680_VAL_DATA_MODE);
|
||||
|
||||
/* Step 7: Set ram X start/end postion 00 FF */
|
||||
/* Step 7: Set ram X start/end position 00 FF */
|
||||
|
||||
lcdinfo("Set ram X start/end position (0x%02x): 0, %d\n",
|
||||
SSD1680_SET_RAMXPOS, (SSD1680_DEV_X_ROUND_UP >> 3)-1);
|
||||
ssd1680_snd_cmd_with_data2(priv, SSD1680_SET_RAMXPOS,
|
||||
0x00, (SSD1680_DEV_X_ROUND_UP >> 3)-1);
|
||||
|
||||
/* Step 8: Set ram Y start/end postion */
|
||||
/* Step 8: Set ram Y start/end position */
|
||||
|
||||
lcdinfo("Set ram Y start/end position (0x%02x): 0, %d\n",
|
||||
SSD1680_SET_RAMYPOS, SSD1680_DEV_NATIVE_YRES - 1);
|
||||
@ -909,7 +909,7 @@ static int ssd1680_busy_wait(FAR struct ssd1680_dev_s *priv)
|
||||
|
||||
if (max_wait_time == 0)
|
||||
{
|
||||
lcderr("Timout. Ignoring Busy state... "
|
||||
lcderr("Timeout. Ignoring Busy state... "
|
||||
"Display is probably not ready\n");
|
||||
return ERROR;
|
||||
}
|
||||
|
@ -170,7 +170,7 @@
|
||||
# define SSD1680_DEV_NATIVE_XRES 128
|
||||
# define SSD1680_DEV_NATIVE_YRES 296
|
||||
#else
|
||||
# error "Unknown resulution"
|
||||
# error "Unknown resolution"
|
||||
#endif
|
||||
|
||||
/* SSD1680 memory write algorithm */
|
||||
|
@ -626,7 +626,7 @@ FAR struct foc_dev_s *foc_dummy_initialize(int inst)
|
||||
|
||||
dev = &g_foc_dev[inst];
|
||||
|
||||
/* Connect lower half FOC with FOC devic */
|
||||
/* Connect lower half FOC with FOC device */
|
||||
|
||||
dev->lower = (FAR void *)foc_lower;
|
||||
|
||||
|
@ -767,7 +767,7 @@ static int w5500_read16_atomic(FAR struct w5500_driver_s *self,
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
/* Ethernet frame tranmission buffer management *****************************/
|
||||
/* Ethernet frame transmission buffer management ****************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: w5500_txbuf_reset
|
||||
@ -1397,7 +1397,7 @@ static void w5500_receive(FAR struct w5500_driver_s *self)
|
||||
self->sk_dev.d_len);
|
||||
}
|
||||
|
||||
/* Acknowledge data receiption to W5500 */
|
||||
/* Acknowledge data reception to W5500 */
|
||||
|
||||
w5500_write16(self,
|
||||
W5500_BSB_SOCKET_REGS(0),
|
||||
|
@ -220,7 +220,7 @@ static inline int16_t ds18b20_rawtemp(FAR const uint8_t *spad)
|
||||
* Name: ds18b20_tempdata
|
||||
*
|
||||
* Description:
|
||||
* Helper for converting temperatur data from raw sensor data
|
||||
* Helper for converting temperature data from raw sensor data
|
||||
*
|
||||
* Return:
|
||||
* Temperature data
|
||||
@ -418,7 +418,7 @@ static int ds18b20_read_spad(FAR struct ds18b20_dev_s *dev,
|
||||
* a buffer overflow later.
|
||||
*/
|
||||
|
||||
swarn("WARNING: Sensor responsed unknown resolution: %d\n", reg->res);
|
||||
swarn("WARNING: Sensor responded unknown resolution: %d\n", reg->res);
|
||||
reg->res = DS18B20_RES_CONV(DS18B20_RESMAX);
|
||||
}
|
||||
|
||||
|
@ -407,7 +407,7 @@ static int msa301_sensor_stop(FAR struct msa301_dev_s *priv)
|
||||
|
||||
msa301_set_powermode(priv, MSA301_SUSPENDMODE);
|
||||
|
||||
sninfo("Stoping....");
|
||||
sninfo("Stopping....");
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
@ -283,8 +283,8 @@ config SYSLOG_RPMSG_OVERWRITE
|
||||
bool "SYSLOG RPMSG overwrite"
|
||||
default n
|
||||
---help---
|
||||
Allow syslog rpmsg overwrite, maybe caused syslog lost.
|
||||
Set 'n' if you don't want lost logs, but may harmful to preformance.
|
||||
Allow syslog rpmsg overwrite, may cause syslog to lose some logs.
|
||||
Set 'n' if you don't want lost logs, but may harm performance.
|
||||
|
||||
endif # SYSLOG_RPMSG
|
||||
|
||||
|
@ -2952,7 +2952,7 @@ int isx012_initialize(void)
|
||||
int ret;
|
||||
FAR struct isx012_dev_s *priv = &g_isx012_private;
|
||||
|
||||
/* Regiser image sensor operations variable */
|
||||
/* Register image sensor operations variable */
|
||||
|
||||
ret = imgsensor_register(&g_isx012_ops);
|
||||
if (ret != OK)
|
||||
|
@ -2842,7 +2842,7 @@ static double calc_iso(double gain)
|
||||
* calculate 10^z.
|
||||
*/
|
||||
|
||||
/* Devide z into integer and other parts.
|
||||
/* Divide z into integer and other parts.
|
||||
* z = log10(E) (k * ln2 + r)
|
||||
* (k : integer, r < 0.5 * ln2)
|
||||
*
|
||||
|
@ -1079,7 +1079,7 @@ static int bcmf_ioctl(FAR struct net_driver_s *dev, int cmd,
|
||||
|
||||
if (!priv->bc_bifup)
|
||||
{
|
||||
wlerr("ERROR: invaild state "
|
||||
wlerr("ERROR: invalid state "
|
||||
"(IFF_DOWN, unable to execute command: %x)\n", cmd);
|
||||
return -EPERM;
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos,
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Calcuate minfd whether is in list->fl_files.
|
||||
/* Calculate minfd whether is in list->fl_files.
|
||||
* if not, allocate a new filechunk.
|
||||
*/
|
||||
|
||||
|
@ -258,7 +258,7 @@ int inode_stat(FAR struct inode *inode, FAR struct stat *buf, int resolve);
|
||||
* inode - The inode of interest
|
||||
* buf - The caller provide location in which to apply information
|
||||
* about the inode.
|
||||
* flags - The vaild field in buf
|
||||
* flags - The valid field in buf
|
||||
* resolve - Whether to resolve the symbolic link
|
||||
*
|
||||
* Returned Value:
|
||||
|
@ -22,10 +22,10 @@ config FS_PROCFS_REGISTER
|
||||
system.
|
||||
|
||||
config FS_PROCFS_MAX_TASKS
|
||||
int "The maxinum number of active tasks for procfs snapshot"
|
||||
int "The maximum number of active tasks for procfs snapshot"
|
||||
default 128
|
||||
---help---
|
||||
The maxinum number of active tasks for procfs snapshot.
|
||||
The maximum number of active tasks for procfs snapshot.
|
||||
|
||||
menu "Exclude individual procfs entries"
|
||||
|
||||
|
@ -123,7 +123,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen,
|
||||
* Description:
|
||||
* This function is same with snprintf, except return values.
|
||||
* If buf has no enough space and output was truncated due to size limit,
|
||||
* snprintf: return formated string len.
|
||||
* snprintf: return formatted string len.
|
||||
* procfs_snprintf: return string len which has written to buf.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
@ -401,7 +401,7 @@ int lutimens(FAR const char *path, const struct timespec times[2])
|
||||
* inode - The inode of interest
|
||||
* buf - The caller provide location in which to apply information
|
||||
* about the inode.
|
||||
* flags - The vaild field in buf
|
||||
* flags - The valid field in buf
|
||||
* resolve - Whether to resolve the symbolic link
|
||||
*
|
||||
* Returned Value:
|
||||
|
@ -90,7 +90,7 @@ errout:
|
||||
* Input Parameters:
|
||||
* filep - File structure instance
|
||||
* buf - The stat to be modified
|
||||
* flags - The vaild field in buf
|
||||
* flags - The valid field in buf
|
||||
*
|
||||
* Returned Value:
|
||||
* Upon successful completion, 0 shall be returned. Otherwise, the
|
||||
|
@ -1396,7 +1396,7 @@ int nx_stat(FAR const char *path, FAR struct stat *buf, int resolve);
|
||||
* Input Parameters:
|
||||
* filep - File structure instance
|
||||
* buf - The stat to be modified
|
||||
* flags - The vaild field in buf
|
||||
* flags - The valid field in buf
|
||||
*
|
||||
* Returned Value:
|
||||
* Upon successful completion, 0 shall be returned. Otherwise, the
|
||||
|
@ -207,7 +207,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen,
|
||||
* Description:
|
||||
* This function is same with snprintf, except return values.
|
||||
* If buf has no enough space and output was truncated due to size limit,
|
||||
* snprintf: return formated string len.
|
||||
* snprintf: return formatted string len.
|
||||
* procfs_snprintf: return string len which has written to buf.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
@ -324,7 +324,7 @@
|
||||
|
||||
/* Auto-negotiation next page advertisement */
|
||||
|
||||
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formated code field */
|
||||
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formatted code field */
|
||||
#define MII_NPADVERTISE_TOGGLE (1 << 11) /* Bit 11: Toggle */
|
||||
#define MII_NPADVERTISE_ACK2 (1 << 12) /* Bit 12: Acknowledgement 2 */
|
||||
#define MII_NPADVERTISE_MSGPAGE (1 << 13) /* Bit 13: Message page */
|
||||
|
@ -161,7 +161,7 @@ void apb_free(FAR struct ap_buffer_s *apb)
|
||||
|
||||
void apb_reference(FAR struct ap_buffer_s *apb)
|
||||
{
|
||||
/* Do we need any thread protection here? Almost certaily... */
|
||||
/* Do we need any thread protection here? Almost certainly... */
|
||||
|
||||
apb_semtake(apb);
|
||||
apb->crefs++;
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
config AUDIO_SRC
|
||||
bool "Audio Samplerate Convertor Library"
|
||||
bool "Audio Samplerate Converter Library"
|
||||
default n
|
||||
---help---
|
||||
Enable build for various SRC functions
|
||||
|
@ -58,7 +58,7 @@ FAR int *__errno(void)
|
||||
|
||||
FAR struct tls_info_s *tlsinfo = tls_get_info();
|
||||
|
||||
/* And return the return refernce to the error number */
|
||||
/* And return the return reference to the error number */
|
||||
|
||||
return tlsinfo ? &tlsinfo->tl_errno : &g_errno;
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ FAR char *basename(FAR char *path)
|
||||
}
|
||||
|
||||
/* Get the address of the last '/' which is not at the end of the path and,
|
||||
* therefor, must be just before the beginning of the filename component.
|
||||
* therefore, must be just before the beginning of the filename component.
|
||||
*/
|
||||
|
||||
p = strrchr(path, '/');
|
||||
|
@ -88,7 +88,7 @@ FAR char *dirname(FAR char *path)
|
||||
}
|
||||
|
||||
/* Get the address of the last '/' which is not at the end of the path and,
|
||||
* therefor, must be the end of the directory component.
|
||||
* therefore, must be the end of the directory component.
|
||||
*/
|
||||
|
||||
p = strrchr(path, '/');
|
||||
|
@ -480,7 +480,7 @@ int up_relocate(const Elf32_Rel *rel, const Elf32_Sym *sym, uintptr_t addr)
|
||||
if (offset < (int32_t)0xfffff800 || offset >= (int32_t)0x0800)
|
||||
{
|
||||
berr("ERROR: JUMP11 [%" PRId32 "] "
|
||||
"relocation out of range, branch taget=%08lx\n",
|
||||
"relocation out of range, branch target=%08lx\n",
|
||||
ELF32_R_TYPE(rel->r_info), offset);
|
||||
|
||||
return -EINVAL;
|
||||
|
@ -480,7 +480,7 @@ int up_relocate(const Elf32_Rel *rel, const Elf32_Sym *sym, uintptr_t addr)
|
||||
if (offset < (int32_t)0xfffff800 || offset >= (int32_t)0x0800)
|
||||
{
|
||||
berr("ERROR: JUMP11 [%" PRId32 "] "
|
||||
"relocation out of range, branch taget=%08lx\n",
|
||||
"relocation out of range, branch target=%08lx\n",
|
||||
ELF32_R_TYPE(rel->r_info), offset);
|
||||
|
||||
return -EINVAL;
|
||||
|
@ -72,8 +72,8 @@ setjmp:
|
||||
# if XCHAL_HAVE_XEA3
|
||||
/*
|
||||
a2 points to the jmp_buf structure of 68 bytes length:
|
||||
8 * 4 to save the regester save area of setjmp that contains the callers resgisters
|
||||
8 * 4 to save the caller's register save area which is pottentally
|
||||
8 * 4 to save the register save area of setjmp that contains the callers registers
|
||||
8 * 4 to save the caller's register save area which is potentially
|
||||
clobbered by an alloca() in the caller
|
||||
*/
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -48,7 +48,7 @@
|
||||
* Name: erf
|
||||
*
|
||||
* Description:
|
||||
* This implementation comes from the Handbook of Mathmatical Functions
|
||||
* This implementation comes from the Handbook of Mathematical Functions
|
||||
* The implementations in this book are not protected by copyright.
|
||||
* erf comes from formula 7.1.26
|
||||
*
|
||||
|
@ -46,7 +46,7 @@
|
||||
* Name: erff
|
||||
*
|
||||
* Description:
|
||||
* This implementation comes from the Handbook of Mathmatical Functions
|
||||
* This implementation comes from the Handbook of Mathematical Functions
|
||||
* The implementations in this book are not protected by copyright.
|
||||
* erf comes from formula 7.1.26
|
||||
*
|
||||
|
@ -41,7 +41,7 @@
|
||||
#ifdef CONFIG_HAVE_LONG_DOUBLE
|
||||
long double erfl(long double x)
|
||||
{
|
||||
/* This implementation comes from the Handbook of Mathmatical Functions
|
||||
/* This implementation comes from the Handbook of Mathematical Functions
|
||||
* The implementations in this book are not protected by copyright.
|
||||
* erf comes from formula 7.1.26
|
||||
*/
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong/Gregory Nutt
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Ported by: Darcy Gong
|
||||
*
|
||||
* It derives from the Rhombus OS math library by Nick Johnson which has
|
||||
* a compatibile, MIT-style license:
|
||||
* a compatible, MIT-style license:
|
||||
*
|
||||
* Copyright (C) 2009, 2010 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user