Module Name: src Committed By: riastradh Date: Sun Jul 17 20:23:17 UTC 2022
Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c src/sys/dev/wscons: wsdisplay_vcons.c wsdisplay_vconsvar.h Log Message: wsdisplay(4): Make most of struct vcons_data private. More importantly, make sizeof(struct vcons_data) independent of whether VCONS_DRAW_INTR &c. is defined. Allocate the private space with kmem rather than in the caller. This still doesn't have very good separation between interface parameters and internal state, but it's better than before, and is necessary to make genfb usable in modules. In arm_simplefb.c, this removes use of the use_intr member. That assignment became redundant with the introduction of vcons_earlyinit, so there's no need to replace it by anything. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/fdt/arm_simplefb.c cvs rdiff -u -r1.62 -r1.63 src/sys/dev/wscons/wsdisplay_vcons.c cvs rdiff -u -r1.32 -r1.33 src/sys/dev/wscons/wsdisplay_vconsvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.