Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/arch/xtensa/drivers/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ uint64_t arch_timer_get_system(struct timer *timer)

/* check and see whether 32bit IRQ is pending for timer */
if (arch_interrupt_get_status() & (1 << timer->irq) && ccompare == 1) {
/* yes, overflow has occured but handler has not run */
/* yes, overflow has occurred but handler has not run */
high = timer->hitime + 1;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aici e ok.

} else {
/* no overflow */
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/hal/mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ static int encode_access_rights(int cattr)

/*
* returns the largest value rv, such that for every index < rv,
* entrys[index].vStartAddress < first.
* entries[index].vStartAddress < first.
*
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nu ar trebui sa modificam fisierul asta intrucat e folosit asa cum e dintr-un SDK primit de la Cadence.

* Assumes an ordered entry array (even disabled entries must be ordered).
* value returned is in the range [0, XCHAL_MPU_ENTRIES].
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/include/xtensa/core-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
# define XTHAL_SET_CCOMPARE(n,v) do {/*nothing*/} while(0)
#endif

/* New functions added to accomodate XEA3 and allow deprecation of older
/* New functions added to accommodate XEA3 and allow deprecation of older
functions. For this release they just map to the older ones. */

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acesta este un fisier primit la de la Xtensa si nu trebuie sa-l modificam.

/* Enables the specified interrupt. */
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/include/xtensa/trax.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ int trax_set_pcstop (trax_context *context, int index, unsigned long startaddres
* index : container of information about the number of stop triggers
* startaddress : container of start range of stop trigger
* endaddress : container of end range of stop trigger
* flags : container of information whcih indicates whether the
* flags : container of information which indicates whether the
* pc stop range is inverted or not.
*
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La fel nu trebuie modificat acest fisier.

* returns : 0 if successful, -1 if unsuccessful
Expand Down
4 changes: 2 additions & 2 deletions src/arch/xtensa/include/xtensa/xdm-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@
/*********** Bit definitions within some of the above registers ***********/
#define OCD_ID_LSDDRP 0x01000000
#define OCD_ID_LSDDRP_SHIFT 24
#define OCD_ID_ENDIANESS 0x00000001
#define OCD_ID_ENDIANESS_SHIFT 0
#define OCD_ID_ENDIANNESS 0x00000001
#define OCD_ID_ENDIANNESS_SHIFT 0
#define OCD_ID_PSO 0x0000000C
#define OCD_ID_PSO_SHIFT 2
#define OCD_ID_TRACEPORT 0x00000080
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La fel nu trebuie modificat.

Expand Down
4 changes: 2 additions & 2 deletions src/arch/xtensa/include/xtensa/xmon.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ _xmon_log(char app_log_en, char app_trace_en,
* Receive remote packet bytes from GDB
* wait: If the function would block waiting for more
* characters from gdb, wait=0 instructs it to
* return 0 immediatelly. Otherwise, if wait=1,
* return 0 immediately. Otherwise, if wait=1,
* the function may or may not wait for GDB.
* NOTE: Current XMON version supports single char
* input only (return value is 1 always)
* buf: Pointer to the buffer for the received data.
* Returns: 0 - no data avaiable,
* Returns: 0 - no data available,
>0 - length of received array in buf.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nu trebuie modificat.

*/
extern int
Expand Down
2 changes: 1 addition & 1 deletion src/arch/xtensa/main-entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/*
* Entry point from boot loader.
* Fix link address of this entry to SOF_TEXT_START so that
* it is easy for boot loader to jump to the baseFW becasue
* it is easy for boot loader to jump to the baseFW because
* the boot loader and baseFW are in different elf file.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/platform/apollolake/lib/power_down.S
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ _PD_RELEASE_VNN:

_PD_SEND_IPC:
// Send IPC to host informing of PD completion - Clear BUSY bit by
// writting IPC_DIPCT_BUSY to IPC_DIPCT
// writing IPC_DIPCT_BUSY to IPC_DIPCT
l32i temp_reg1, host_base, IPC_DIPCT
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aici e ok.

movi temp_reg2, IPC_DIPCT_BUSY
or temp_reg1, temp_reg1, temp_reg2
Expand Down