Skip to content

Commit

Permalink
Fix typos in comments (accessable -> accessible, priveleged -> privil…
Browse files Browse the repository at this point in the history
…eged)

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
  • Loading branch information
Stefan Weil authored and Stefan Hajnoczi committed May 8, 2011
1 parent 5225d66 commit 64c7b9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions hw/sh7750_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* All register has 2 addresses: in 0xff000000 - 0xffffffff (P4 address) and
* in 0x1f000000 - 0x1fffffff (area 7 address)
*/
#define SH7750_P4_BASE 0xff000000 /* Accessable only in
priveleged mode */
#define SH7750_A7_BASE 0x1f000000 /* Accessable only using TLB */
#define SH7750_P4_BASE 0xff000000 /* Accessible only in
privileged mode */
#define SH7750_A7_BASE 0x1f000000 /* Accessible only using TLB */

#define SH7750_P4_REG32(ofs) (SH7750_P4_BASE + (ofs))
#define SH7750_A7_REG32(ofs) (SH7750_A7_BASE + (ofs))
Expand Down
2 changes: 1 addition & 1 deletion target-cris/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ typedef struct CPUCRISState {
/* P0 - P15 are referred to as special registers in the docs. */
uint32_t pregs[16];

/* Pseudo register for the PC. Not directly accessable on CRIS. */
/* Pseudo register for the PC. Not directly accessible on CRIS. */
uint32_t pc;

/* Pseudo register for the kernel stack. */
Expand Down
4 changes: 2 additions & 2 deletions tests/test-mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void check_file_unfixed_eof_mmaps(void)
fail_unless (p1[(test_fsize & pagemask) / sizeof *p1 - 1]
== ((test_fsize - sizeof *p1) / sizeof *p1));

/* Verify that the end of page is accessable and zeroed. */
/* Verify that the end of page is accessible and zeroed. */
cp = (void *) p1;
fail_unless (cp[pagesize - 4] == 0);
munmap (p1, pagesize);
Expand Down Expand Up @@ -365,7 +365,7 @@ void check_file_fixed_eof_mmaps(void)
fail_unless (p1[(test_fsize & pagemask) / sizeof *p1 - 1]
== ((test_fsize - sizeof *p1) / sizeof *p1));

/* Verify that the end of page is accessable and zeroed. */
/* Verify that the end of page is accessible and zeroed. */
cp = (void *)p1;
fail_unless (cp[pagesize - 4] == 0);
munmap (p1, pagesize);
Expand Down

0 comments on commit 64c7b9d

Please sign in to comment.