Re: [RFC][PATCH] cmd: test: Add bitwise AND, document the feature

2017-04-17 Thread Brad Mouring
On Thu, Apr 13, 2017 at 06:20:24AM +0300, Andrei Borzenkov wrote: > 12.04.2017 21:10, Brad Mouring пишет: > > Currently, there is not a good way to control script flow based on > > bitwise values. This initially led to NI adding the ability to read > > a specific bit from a port-mapped register to

Re: [RFC][PATCH] cmd: test: Add bitwise AND, document the feature

2017-04-12 Thread Andrei Borzenkov
12.04.2017 21:10, Brad Mouring пишет: > Currently, there is not a good way to control script flow based on > bitwise values. This initially led to NI adding the ability to read > a specific bit from a port-mapped register to control bootflow. > > Here, we add a more generic ability to test the bit

[RFC][PATCH] cmd: test: Add bitwise AND, document the feature

2017-04-12 Thread Brad Mouring
Currently, there is not a good way to control script flow based on bitwise values. This initially led to NI adding the ability to read a specific bit from a port-mapped register to control bootflow. Here, we add a more generic ability to test the bitwise AND of a value available to the grub script