public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Chris Morrow <cmorrow@YottaYotta.com>
To: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] mips mmu setup
Date: Sun, 25 Feb 2001 18:15:00 -0000	[thread overview]
Message-ID: <3A99BC17.7EB5AA48@YottaYotta.com> (raw)
In-Reply-To: <3A99B9B6.444A2F22@YottaYotta.com>

For the vrc4373 port, the hal_mips_setup routine
use add instructions for the following sequence.

	li	tmp,PADDR_INC
	add	vaddr,vaddr,tmp
	add	paddr0,paddr0,tmp

Which is okay until you try to map in 2 gig of
address space at which point the vaddr calculate
will result in 0x80000000 during the last interation
of the loop. This will cause an interger overflow
exception.

All the add's in that function should probably be addu's.

-- 
Chris Morrow	YottaYotta Inc.
email:		cmorrow@yottayotta.com
phone:		(780) 439 9000 ext 227
web:		http://www.yottayotta.com

  reply	other threads:[~2001-02-25 18:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15 12:26 [ECOS] Header files in platform port Paul Pham
2001-01-15 13:22 ` [ECOS] hal_copy_data and hal_zero_bss Chris Morrow
2001-01-15 18:30   ` Jonathan Larmour
2001-02-25 18:05     ` Chris Morrow
2001-02-25 18:15       ` Chris Morrow [this message]
2001-02-26 12:39         ` [ECOS] mips mmu setup Jonathan Larmour
2001-02-26 15:22       ` [ECOS] hal_copy_data and hal_zero_bss Jonathan Larmour
2001-02-27  1:54         ` Chris Morrow
2001-02-27 10:25           ` Jonathan Larmour
2001-01-15 18:44 ` [ECOS] Header files in platform port Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A99BC17.7EB5AA48@YottaYotta.com \
    --to=cmorrow@yottayotta.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).