coreboot-kgpe-d16/payloads/libpayload/include
Julius Werner 1c37157218 mmio: Add clrsetbitsXX() API in place of updateX()
This patch removes the recently added update8/16/32/64() API and
replaces it with clrsetbits8/16/32/64(). This is more in line with the
existing endian-specific clrsetbits_le16/32/64() functions that have
been used for this task on some platforms already. Rename clrsetbits_8()
to clrsetbits8() to be in line with the new naming.

Keep this stuff in <device/mmio.h> and get rid of <mmio.h> again because
having both is confusing and we seem to have been standardizing on
<device/mmio.h> as the standard arch-independent header that all
platforms should include already.

Also sync libpayload back up with what we have in coreboot. (I'm the
original author of the clrsetbits_le32-definitions so I'm relicensing
them to BSD here.)

Change-Id: Ie4f7b9fdbdf9e8c0174427b4288f79006d56978b
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37432
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-12-04 14:10:37 +00:00
..
arm/arch
arm64/arch libpayload: arm64: Make exception handling closer to arm32 2018-10-12 20:17:28 +00:00
arpa
pci
storage payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
sys libpayload/sys/types.h: Add definition for off_t 2019-02-13 12:03:03 +00:00
udc
usb libpayload/usb: add USB 3.1 GEN2 support 2019-08-27 07:21:00 +00:00
x86/arch libpayload/apic: Only ACK interrupts triggered by the APIC 2018-10-04 15:24:20 +00:00
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Add optional argument ibb 2019-10-18 15:37:37 +00:00
cbfs_ram.h
cbgfx.h
compiler.h Make common macros double-evaluation safe 2019-04-04 19:38:31 +00:00
coreboot_tables.h libpayload: refactor fetching cbmem pointers 2019-10-03 15:27:30 +00:00
ctype.h
die.h
endian.h mmio: Add clrsetbitsXX() API in place of updateX() 2019-12-04 14:10:37 +00:00
errno.h
exception.h libpayload/x86/exception: Add ability to handle user defined interrupts 2018-09-10 15:01:04 +00:00
fmap_serialized.h fmap: Add FMAP_AREA_PRESERVE 2019-03-04 13:25:01 +00:00
gdb.h libpayload: gdb: Factor out gdb_handle_reentrant_exception() from arm32 2018-10-12 20:17:40 +00:00
getopt.h
inttypes.h
ipchksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
keycodes.h
libpayload.h libpayload: Add BIT(x) macro definition 2019-11-28 10:51:49 +00:00
limits.h libpayload: limits.h: Provide reliable definitions for all XXX_MAX/MIN 2019-04-10 10:43:27 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h
queue.h payloads: Remove/fix trailing whitespace 2018-09-04 12:38:40 +00:00
stdarg.h
stddef.h libpayload/libc/time: Add an arch_ndelay() 2018-09-12 14:15:18 +00:00
stdint.h
stdio.h
stdlib.h libpayload: Deduplicate strtol and strtoull 2019-04-10 10:44:31 +00:00
string.h libpayload/libc: Tidy utf16le_to_ascii 2019-07-23 09:09:45 +00:00
strings.h
swab.h
sysinfo.h lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
term.h
time.h
unistd.h
video_console.h