diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 16:44:14 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 16:44:14 +0200 |
commit | 301148756eae8c9821ae0321cfe30a3a75b67a68 (patch) | |
tree | f0360ec8bd23b0fb29b1c182577a2cc4c971b3c9 /sys/src/cmd/aux/vga/main.c | |
parent | 4c8d2b0ebf1fd3fe5b96e227da23a82f669a82fa (diff) |
aux/vga: use 64-bit physical addresses for pci membar
Diffstat (limited to 'sys/src/cmd/aux/vga/main.c')
-rw-r--r-- | sys/src/cmd/aux/vga/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/aux/vga/main.c b/sys/src/cmd/aux/vga/main.c index a3915d2ae..8d044c906 100644 --- a/sys/src/cmd/aux/vga/main.c +++ b/sys/src/cmd/aux/vga/main.c @@ -131,12 +131,12 @@ linear(Vga* vga) * new: addr p 0x12345678 v 0x82345678 size 0x123 */ if(buf[0]=='p' && buf[1]==' '){ - vga->vmb = strtoul(buf+2, 0, 0); + vga->vmb = strtoull(buf+2, 0, 0); p = strstr(buf, "size"); if(p) vga->apz = strtoul(p+4, 0, 0); }else - vga->vmb = strtoul(buf, 0, 0); + vga->vmb = strtoull(buf, 0, 0); } else vgactlw("linear", "0"); |