Searched hist:8561 (Results 1 - 3 of 3) sorted by relevance

/gem5/src/dev/virtio/
H A Dfs9p.ccdiff 12559:55550caed7f0 Sun Feb 18 13:58:00 EST 2018 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> dev: Leave last byte in strncpy for NULL

The length of the strncpy should be one less than the destination to
ensure that there is space for the last NULL byte in case the source
is longer than the destination.

Change-Id: Iea65fa6327c8242bd8ddf4bf9a5a2b5164996495
Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Reviewed-on: https://gem5-review.googlesource.com/8561
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
/gem5/src/dev/net/
H A Dethertap.ccdiff 12559:55550caed7f0 Sun Feb 18 13:58:00 EST 2018 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> dev: Leave last byte in strncpy for NULL

The length of the strncpy should be one less than the destination to
ensure that there is space for the last NULL byte in case the source
is longer than the destination.

Change-Id: Iea65fa6327c8242bd8ddf4bf9a5a2b5164996495
Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Reviewed-on: https://gem5-review.googlesource.com/8561
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
/gem5/src/sim/
H A Dbyteswap.hhdiff 8561:26593b179f01 Mon Sep 19 08:19:00 EDT 2011 Gabe Black <gblack@eecs.umich.edu> Endianness: Make it easier to check the compiled in guest endianness.

It was technically possible but clumsy to determine what endianness a guest
was configured with using the state in byteswap.hh. This change makes that
information available more directly.

Also get rid of unused (and mildly redundant) ByteOrderDiffers constant.

Completed in 19 milliseconds