spell: fix comment typos: /include/arch/*
Scanning for typos in comments and strings. Change-Id: I3d4db89e0824959252c79c19baa50028354247bd Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
c09b4b84fc
commit
2e5d517ee4
4 changed files with 9 additions and 9 deletions
|
@ -20,7 +20,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* APIs need to support non-byte addressible architectures */
|
/* APIs need to support non-byte addressable architectures */
|
||||||
|
|
||||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||||
|
|
|
@ -116,7 +116,7 @@ typedef enum {
|
||||||
#elif defined(CONFIG_CPU_CORTEX_M7)
|
#elif defined(CONFIG_CPU_CORTEX_M7)
|
||||||
#define __CM7_REV 0
|
#define __CM7_REV 0
|
||||||
#else
|
#else
|
||||||
#error "Uknown Cortex-M device"
|
#error "Unknown Cortex-M device"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __MPU_PRESENT 0 /* Zephyr has no MPU support */
|
#define __MPU_PRESENT 0 /* Zephyr has no MPU support */
|
||||||
|
@ -135,7 +135,7 @@ typedef enum {
|
||||||
#elif defined(CONFIG_CPU_CORTEX_M7)
|
#elif defined(CONFIG_CPU_CORTEX_M7)
|
||||||
#include <core_cm7.h>
|
#include <core_cm7.h>
|
||||||
#else
|
#else
|
||||||
#error "Uknown Cortex-M device"
|
#error "Unknown Cortex-M device"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -30,7 +30,7 @@ extern "C" {
|
||||||
#define _NANO_ERR_ALLOCATION_FAIL (3) /* Kernel Allocation Failure */
|
#define _NANO_ERR_ALLOCATION_FAIL (3) /* Kernel Allocation Failure */
|
||||||
#define _NANO_ERR_SPURIOUS_INT (4) /* Spurious interrupt */
|
#define _NANO_ERR_SPURIOUS_INT (4) /* Spurious interrupt */
|
||||||
|
|
||||||
/* APIs need to support non-byte addressible architectures */
|
/* APIs need to support non-byte addressable architectures */
|
||||||
|
|
||||||
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
#define OCTET_TO_SIZEOFUNIT(X) (X)
|
||||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||||
|
|
|
@ -36,7 +36,7 @@ extern "C" {
|
||||||
|
|
||||||
|
|
||||||
/* NOTE: We currently do not have definitions for 16-bit segment, currently
|
/* NOTE: We currently do not have definitions for 16-bit segment, currently
|
||||||
* assume everthing we are working with is 32-bit
|
* assume everything we are working with is 32-bit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SEG_TYPE_LDT 0x2
|
#define SEG_TYPE_LDT 0x2
|
||||||
|
@ -188,7 +188,7 @@ struct __packed segment_descriptor {
|
||||||
/* 1=code 0=data */
|
/* 1=code 0=data */
|
||||||
uint8_t executable:1;
|
uint8_t executable:1;
|
||||||
|
|
||||||
/* Next 3 fields ctually common to all */
|
/* Next 3 fields actually common to all */
|
||||||
|
|
||||||
/* 1=code or data, 0=system type */
|
/* 1=code or data, 0=system type */
|
||||||
uint8_t descriptor_type:1;
|
uint8_t descriptor_type:1;
|
||||||
|
@ -490,7 +490,7 @@ static inline uint16_t _get_tss(void)
|
||||||
/**
|
/**
|
||||||
* Get the current global descriptor table
|
* Get the current global descriptor table
|
||||||
*
|
*
|
||||||
* @param gdt Pointer to memory to receive GDT pseduo descriptor information
|
* @param gdt Pointer to memory to receive GDT pseudo descriptor information
|
||||||
*/
|
*/
|
||||||
static inline void _get_gdt(struct pseudo_descriptor *gdt)
|
static inline void _get_gdt(struct pseudo_descriptor *gdt)
|
||||||
{
|
{
|
||||||
|
@ -501,7 +501,7 @@ static inline void _get_gdt(struct pseudo_descriptor *gdt)
|
||||||
/**
|
/**
|
||||||
* Get the current interrupt descriptor table
|
* Get the current interrupt descriptor table
|
||||||
*
|
*
|
||||||
* @param idt Pointer to memory to receive IDT pseduo descriptor information
|
* @param idt Pointer to memory to receive IDT pseudo descriptor information
|
||||||
*/
|
*/
|
||||||
static inline void _get_idt(struct pseudo_descriptor *idt)
|
static inline void _get_idt(struct pseudo_descriptor *idt)
|
||||||
{
|
{
|
||||||
|
@ -574,7 +574,7 @@ static inline uint16_t _get_cs(void)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the segement selector for the current data segment
|
* Get the segment selector for the current data segment
|
||||||
*
|
*
|
||||||
* @return Segment selector
|
* @return Segment selector
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue