Hello everyone, I am currently designing a bidirectional high-side switch using a P-channel MOSFET for DIY BMS, and I came across a circuit tutorial based on an article from Texas Instruments (page 4). Here is the circuit from the tutorial:

My first response when looking at this circuit was, "Will the MOSFET's be floating?" because as far as I know, to create a P-channel high-side MOSFET switch, a pull-up resistor is needed as shown in the diagram below to prevent floating. Is the placement of the pull-up resistor in the first diagram correct?
i know that the placement of pullup resistor in these 2 diagram are the same, between gate and source. Because my understanding so far has been that the position of the pull-up resistor is between the gate and Vdd just like diagram below and i am open to criticism if my understanding are not correct


My first response when looking at this circuit was, "Will the MOSFET's be floating?" because as far as I know, to create a P-channel high-side MOSFET switch, a pull-up resistor is needed as shown in the diagram below to prevent floating. Is the placement of the pull-up resistor in the first diagram correct?
i know that the placement of pullup resistor in these 2 diagram are the same, between gate and source. Because my understanding so far has been that the position of the pull-up resistor is between the gate and Vdd just like diagram below and i am open to criticism if my understanding are not correct
