9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] I'm giving up... hwcursor
Date: Thu, 26 May 2016 16:47:13 +0200	[thread overview]
Message-ID: <eb74a7891d855ec8d5a359f347a3569a@felloff.net> (raw)
In-Reply-To: <d811a866b4ca3d991faa2c3e9b026fb6@letsnoteL.jitaku.localdomain>

just as i guessed, remember that the physical memory
was mapped from 0x7f800000 - 0x7ff7f000. so we got:

0x80000000 end of stolen memory
0x7ff80000 gtt table
0x7ff7f000 end of graphics memory / unmapped guard page
0x7ff7e000 last graphics memory page (mirror)
0x7f800000 start of graphics memory

so we could calculate storage like:

preallocsize() - gttsize() - guardpages - 64*64*4, alternatively
i can scan the gtt for a big continuous segment... so basically
count pages until we hit unmapped pte entries or aliased pages.

i can do this later or at the weekend...

--
cinap


  reply	other threads:[~2016-05-26 14:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <482b57479fee0af4eef62e818dace4ce@felloff.net>
2016-05-26  0:39 ` kokamoto
2016-05-26 12:07   ` cinap_lenrek
2016-05-26 13:09     ` kokamoto
2016-05-26 14:47       ` cinap_lenrek [this message]
2016-05-27  0:53         ` kokamoto
2016-05-21  2:04 kokamoto
2016-05-22 11:56 ` [9front] " cinap_lenrek
2016-05-23  0:21   ` kokamoto
2016-05-23  0:39   ` kokamoto
2016-05-23  0:57     ` cinap_lenrek
2016-05-23  2:48       ` kokamoto
2016-05-23  3:01         ` kokamoto
2016-05-23  5:09       ` kokamoto
2016-05-23  5:23         ` kokamoto
2016-05-23 11:01           ` cinap_lenrek
2016-05-23 11:29             ` kokamoto
2016-05-23 11:42               ` kokamoto
2016-05-23 12:05                 ` cinap_lenrek
2016-05-24  1:42                   ` kokamoto
2016-05-24  8:57                     ` cinap_lenrek
2016-05-24 10:12                       ` kokamoto
2016-05-24 10:14                       ` kokamoto
2016-05-24 14:17                         ` cinap_lenrek
2016-05-24 19:57                         ` cinap_lenrek
2016-05-24 23:55                           ` kokamoto
2016-05-25  9:08                             ` cinap_lenrek
2016-05-25 12:20                             ` cinap_lenrek
2016-05-25 12:45                               ` cinap_lenrek
2016-05-25 12:49                               ` kokamoto
2016-05-25 13:32                                 ` cinap_lenrek
2016-05-26  0:09                                   ` kokamoto
2016-05-24  9:10                     ` cinap_lenrek
2016-05-23 15:07         ` cinap_lenrek
2016-05-23  8:46     ` cinap_lenrek
2016-05-23  8:52     ` cinap_lenrek

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=eb74a7891d855ec8d5a359f347a3569a@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /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 NNTP newsgroup(s).