1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

1MB is not 1024 * 1024 * 1024 but 1024 * 1024.

This commit is contained in:
KATO Takenori 1999-04-24 04:16:22 +00:00
parent 4e54ad63db
commit 6e982e922a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45980
4 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $
* $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $
*/
/*
@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
if (type == SYS_RES_MEMORY) {
caddr_t vaddr = 0;
if (rv->r_end < 1024 * 1024 * 1024) {
if (rv->r_end < 1024 * 1024) {
/*
* The first 1Mb is mapped at KERNBASE.
*/

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $
* $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $
*/
/*
@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
if (type == SYS_RES_MEMORY) {
caddr_t vaddr = 0;
if (rv->r_end < 1024 * 1024 * 1024) {
if (rv->r_end < 1024 * 1024) {
/*
* The first 1Mb is mapped at KERNBASE.
*/

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $
* $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $
*/
/*
@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
if (type == SYS_RES_MEMORY) {
caddr_t vaddr = 0;
if (rv->r_end < 1024 * 1024 * 1024) {
if (rv->r_end < 1024 * 1024) {
/*
* The first 1Mb is mapped at KERNBASE.
*/

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: nexus.c,v 1.3 1999/04/19 08:04:19 peter Exp $
* $Id: nexus.c,v 1.4 1999/04/21 07:26:26 peter Exp $
*/
/*
@ -245,7 +245,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
if (type == SYS_RES_MEMORY) {
caddr_t vaddr = 0;
if (rv->r_end < 1024 * 1024 * 1024) {
if (rv->r_end < 1024 * 1024) {
/*
* The first 1Mb is mapped at KERNBASE.
*/