| /misc/services/life_mngr/ |
| A D | life_mngr.conf | 20 DEV_NAME=tty:/dev/ttyS8,/dev/ttyS9,/dev/ttyS10,/dev/ttyS11,/dev/ttyS12,/dev/ttyS13,/dev/ttyS14 26 ALLOW_TRIGGER_S5=/dev/ttyS10 32 ALLOW_TRIGGER_SYSREBOOT=/dev/ttyS10
|
| A D | uart.c | 133 struct uart_dev *dev; in init_uart_dev() local 138 dev = calloc(1, sizeof(*dev)); in init_uart_dev() 139 if (!dev) { in init_uart_dev() 146 dev->tty_fd = tty_listen_setup(dev->tty_path); in init_uart_dev() 147 if (dev->tty_fd < 0) { in init_uart_dev() 149 free(dev); in init_uart_dev() 152 return dev; in init_uart_dev() 156 if (dev != NULL) { in deinit_uart_dev() 158 close(dev->tty_fd); in deinit_uart_dev() 159 dev->tty_fd = -1; in deinit_uart_dev() [all …]
|
| A D | uart.h | 37 void deinit_uart_dev(struct uart_dev *dev); 41 ssize_t send_message_by_uart(struct uart_dev *dev, const void *buf, size_t len); 46 ssize_t receive_message_by_uart(struct uart_dev *dev, void *buf, size_t len); 50 static inline int get_uart_dev_fd(struct uart_dev *dev) in get_uart_dev_fd() argument 52 return dev->tty_fd; in get_uart_dev_fd() 57 static inline char *get_uart_dev_path(struct uart_dev *dev) in get_uart_dev_path() argument 59 return dev->tty_path; in get_uart_dev_path()
|
| A D | uart_channel.c | 280 struct uart_dev *dev; in create_uart_channel_dev() local 286 dev = init_uart_dev(path); in create_uart_channel_dev() 287 if (dev == NULL) { in create_uart_channel_dev() 295 deinit_uart_dev(dev); in create_uart_channel_dev() 299 c_dev->uart_device = dev; in create_uart_channel_dev()
|
| /misc/debug_tools/acrn_log/ |
| A D | acrnlog.c | 200 if (!dev) { in hvlog_open_dev() 213 if (!dev->msg) { in hvlog_open_dev() 218 return dev; in hvlog_open_dev() 221 close(dev->fd); in hvlog_open_dev() 223 free(dev); in hvlog_open_dev() 230 if (!dev) in hvlog_close_dev() 233 if (dev->msg) in hvlog_close_dev() 234 free(dev->msg); in hvlog_close_dev() 235 if (dev->fd > 0) in hvlog_close_dev() 237 free(dev); in hvlog_close_dev() [all …]
|
| /misc/config_tools/static_allocators/ |
| A D | bdf.py | 23 for dev in range(0x1, 0x20): 24 bdf = lib.lib.BusDevFunc(bus=0x00, dev=dev, func=0x0) 25 if all((bdf.dev != in_use_bdf.dev for in_use_bdf in used_bdf)): 83 dev = int(address, 16) >> 16 93 dev_list.append(lib.lib.BusDevFunc(bus = bus, dev = dev, func = func)) 109 for dev in devdict: 110 dev_name = dev 111 bdf = devdict.get(dev) 136 dev = int(address, 16) >> 16 156 used.append(lib.lib.BusDevFunc(bus = 0, dev = 1, func = 0))
|
| A D | gpa.py | 158 dev = int(bdf.split(":")[1].split('.')[0], 16) 160 bdf = lib.lib.BusDevFunc(bus=bus, dev=dev, func=func) 183 dev = int(bdf.split(":")[1].split('.')[0], 16) 185 bdf = lib.lib.BusDevFunc(bus=bus, dev=dev, func=func) 346 for dev in devdict: 347 dev_name = dev[0] 348 bar_region = dev[1].split('bar')[-1] 349 bar_base = devdict.get(dev) 363 for dev in devdict: 364 vuart_id = dev[0][-1] [all …]
|
| A D | intx.py | 166 address = hex((bdf.dev << 16) | (bdf.func)) 239 for dev in devs: 240 … if dev.startswith("("): # Allocation in the scenario configuration need not go to allocation.xml 242 bdf = dev.split(" ")[0]
|
| /misc/config_tools/launch_config/ |
| A D | launch_script_template.sh | 23 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr 29 echo cpu${processor_id} online=${online} >> /dev/stderr 59 tap_exist=$(ip a show dev $tap) 63 ip tuntap add dev $tap mode tap 71 ip link set dev "$tap" down 72 ip link set dev "$tap" up 171 echo "${options} input device path is available in the service vm." >> /dev/stderr 173 echo "${options} input device path is not found in the service vm." >> /dev/stderr 202 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
|
| /misc/config_tools/data/generic_board/sample_launch_scripts/ |
| A D | launch_user_vm_id1.sh | 28 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr 34 echo cpu${processor_id} online=${online} >> /dev/stderr 64 tap_exist=$(ip a show dev $tap) 68 ip tuntap add dev $tap mode tap 76 ip link set dev "$tap" down 77 ip link set dev "$tap" up 176 echo "${options} input device path is available in the service vm." >> /dev/stderr 178 echo "${options} input device path is not found in the service vm." >> /dev/stderr 207 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
|
| A D | launch_user_vm_id2.sh | 28 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr 34 echo cpu${processor_id} online=${online} >> /dev/stderr 64 tap_exist=$(ip a show dev $tap) 68 ip tuntap add dev $tap mode tap 76 ip link set dev "$tap" down 77 ip link set dev "$tap" up 176 echo "${options} input device path is available in the service vm." >> /dev/stderr 178 echo "${options} input device path is not found in the service vm." >> /dev/stderr 207 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
|
| /misc/config_tools/library/ |
| A D | launch_cfg_lib.py | 353 def virtual_dev_slot(dev): argument 358 if dev in list(PT_SLOT.keys()): 359 return PT_SLOT[dev] 376 def get_slot(bdf_list, dev): argument 480 for dev in bdf_dic.keys(): 481 dev_bdf_dic = bdf_dic[dev] 535 for dev in slot_db.keys(): 541 for dev in PASSTHRU_DEVS: 542 if dev == 'gpu': 550 for dev in PASSTHRU_DEVS: [all …]
|
| /misc/debug_tools/acrn_crashlog/data/ |
| A D | crashlogctl | 23 echo "$1" > /dev/stderr 28 echo "$1" > /dev/stderr 33 echo "$1" > /dev/stderr
|
| /misc/config_tools/board_inspector/inspectorlib/ |
| A D | mmio.py | 13 dev = res.getparent().getparent() 14 obj = dev.get("object")
|
| /misc/config_tools/board_config/ |
| A D | pci_devices_h.py | 27 dev = int(bdf.split(':')[1].split('.')[0], 16) 31 bus, dev, fun), file=config)
|
| A D | board_info_h.py | 21 for dev,bdf_list in known_caps_pci_devs.items(): 22 if dev == "VMSIX":
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 95-usb.py | 15 for dev in os.listdir(USB_DEVICES_PATH): 16 m = dev_regex.match(dev)
|
| /misc/debug_tools/acrn_crashlog/acrnprobe/include/ |
| A D | loop.h | 18 int e2fs_open(const char *dev, ext2_filsys *outfs);
|
| /misc/services/acrn_manager/ |
| A D | acrnd.service | 5 ConditionPathExists=/dev/acrn_hsm
|
| /misc/sample_application/image_builder/ |
| A D | create_image.sh | 215 sudo kpartx -vd /dev/${loop_dev} 216 sudo losetup -vd /dev/${loop_dev} 249 try_step "Resizing guest root file system" resizing_guest_root /dev/mapper/${loop_dev}p1 250 try_step "Mounting guest root file system at ${mount_point}" mount_filesystem /dev/mapper/${loop_de…
|
| /misc/config_tools/static_allocators/lib/ |
| A D | lib.py | 36 dev=int(match.group("dev"), 16), 44 if not (0x00 <= self.dev <= 0x1f):
|
| /misc/config_tools/ |
| A D | setup.cfg | 5 author_email = acrn-dev@lists.projectacrn.org
|
| /misc/packaging/ |
| A D | 100_ACRN | 30 if ls /boot/vmlinuz*acrn-service-vm* 1> /dev/null 2>&1;then
|
| /misc/config_tools/hv_config/ |
| A D | board_defconfig.py | 77 dev = int(serial_value.strip("'").split(':')[1].split(".")[0], 16) 79 value = ((bus & 0xFF) << 8) | ((dev & 0x1F) << 3) | (fun & 0x7)
|
| /misc/debug_tools/acrn_crashlog/acrnprobe/ |
| A D | loop.c | 621 int e2fs_open(const char *dev, ext2_filsys *outfs) in e2fs_open() argument 625 if (!dev || !outfs) in e2fs_open() 629 res = ext2fs_open(dev, EXT2_FLAG_64BITS, 0, 0, in e2fs_open() 632 LOGE("ext2fs fail to open (%s), error (%s)\n", dev, in e2fs_open()
|