VirtualBox

Changeset 93944 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 24, 2022 9:15:14 PM (3 years ago)
Author:
vboxsync
Message:

Devices: Must not use PAGE_SIZE, PAGE_SHIFT, PAGE_OFFSET_MASK, PAGE_ADDRESS or PHYS_PAGE_ADDRESS here either. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/sys/mbuf.h

    r87289 r93944  
    4646#endif
    4747#else /* VBOX */
    48 # include <iprt/param.h>
     48# include <VBox/param.h>
    4949# include "misc.h"
    5050# include "ext.h"
     
    7676/*
    7777 * Constants related to network buffer management.
    78  * MCLBYTES must be no larger than PAGE_SIZE.
     78 * MCLBYTES must be no larger than HOST_PAGE_SIZE.
    7979 */
    8080# ifndef        MSIZE
     
    9191
    9292# if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    93 #  define       MJUMPAGESIZE    PAGE_SIZE       /* jumbo cluster 4k */
     93#  define       MJUMPAGESIZE    HOST_PAGE_SIZE  /* jumbo cluster 4k */
    9494# else
    9595#  define       MJUMPAGESIZE    (4 * 1024)      /* jumbo cluster 4k */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette